mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
Show highlighted text in right panel
This commit is contained in:
parent
446c41d020
commit
3e3d7aa4d7
@ -95,7 +95,6 @@ export default class HighlightedTextWidget extends RightPanelWidget {
|
|||||||
// Check for type text unconditionally in case alwaysShowWidget is set
|
// Check for type text unconditionally in case alwaysShowWidget is set
|
||||||
if (this.note.type === 'text') {
|
if (this.note.type === 'text') {
|
||||||
const { content } = await note.getNoteComplement();
|
const { content } = await note.getNoteComplement();
|
||||||
//hltColors/hltBgColors are the colors/background-color that appear in notes and in options
|
|
||||||
({ $hlt, hltLiCount } = await this.getHlt(content, optionsHlt));
|
({ $hlt, hltLiCount } = await this.getHlt(content, optionsHlt));
|
||||||
}
|
}
|
||||||
this.$hlt.html($hlt);
|
this.$hlt.html($hlt);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user