Skip to content

Build your personal knowledge base with Trilium Notes

Show highlighted text in right panel

SiriusXT3e3d7aa4d7e6
diff --git a/src/public/app/widgets/highlighted_text.js b/src/public/app/widgets/highlighted_text.js
index 2ddecce880..b22697994f 100644
--- a/src/public/app/widgets/highlighted_text.js
+++ b/src/public/app/widgets/highlighted_text.js
@@ -95,7 +95,6 @@ export default class HighlightedTextWidget extends RightPanelWidget {
// Check for type text unconditionally in case alwaysShowWidget is set
if (this.note.type === 'text') {
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));
}
this.$hlt.html($hlt);