Show highlighted text in right panel

This commit is contained in:
SiriusXT 2023-06-03 17:12:06 +08:00
parent 446c41d020
commit 3e3d7aa4d7

View File

@ -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);