rafjaf / joplin-plugin-toggle-editor

Joplin plugin which adds to the View menu a command to toggle between WYSIWIG and Markdown editors, with a keyboard shortcut
2 stars 0 forks source link

Switch from WYSIWYG to MD not working #1

Open adriangrupp opened 7 months ago

adriangrupp commented 7 months ago

Hi, First of all, I'm highly appreciating this feature! However, I have the issue that the toggle still really works in one direction properly. I can toggle from MD -> WYSIWYG without problems, but once I'm editing in WYSIWYG the toggle won't work anymore. It only seems to register when I focus the editor's top bar.

OS is Win10 Joplin is v2.14.20

rafjaf commented 7 months ago

@adriangrupp Thank you for your feedback. It is strange : for me it works both ways. I have no idea what could explain this - as you can see in https://github.com/rafjaf/joplin-plugin-toggle-editor/blob/main/src/index.ts the source code is very simple and should not be dependent on which editor is active or which element has the focus...

executed commented 2 months ago

confirmed here - mb some plugin interference?

yajo commented 1 month ago

It happens to me too, as long as I clicked somewhere within the note text in WYSIWYG mode.

yajo commented 1 month ago

I changed the binding to Alt+Shift+L and it's working now. It seems that Ctrl+G has some extra meaning.

My Joplin is in Spanish. Maybe something related to l10n?