- [ x ] The Plugin is up to date
- [ x ] Obsidian is up to date
Describe the bug
It works fine if Default Edit Mode option is set to Live Preview. But if Source Mode is selected, the plugin doesn't work in edit mode. If I click Reload Highlighter, it starts working. So, the idea is to add some logic to automatically click this button as soon as the plugin is loaded. You may need a delay if obsidian or other plugins override theme settings.
To Reproduce
Select Source Mode in Editor > Default Edit Mode and restart Obsidian.
Occurs on
Plugin version
0.5.0
UPD: Reload Highlighter button fixes the highlighting only if obsidian is in edit mode. So just reloading the plugin when it loads will not help. You need to do it when the editor goes into edit mode, or look for another solution.
Describe the bug
It works fine if
Default Edit Modeoption is set toLive Preview. But ifSource Modeis selected, the plugin doesn't work in edit mode. If I clickReload Highlighter, it starts working. So, the idea is to add some logic to automatically click this button as soon as the plugin is loaded. You may need a delay if obsidian or other plugins override theme settings.To Reproduce
Select
Source ModeinEditor>Default Edit Modeand restart Obsidian.Occurs on
Plugin version
0.5.0
UPD:
Reload Highlighterbutton fixes the highlighting only if obsidian is in edit mode. So just reloading the plugin when it loads will not help. You need to do it when the editor goes into edit mode, or look for another solution.