I recently started using Joplin, and I’m thrilled with it.
I’ve also installed some plugins, but I’ve noticed that when switching from the Markdown editor to the Rich Editor, I sometimes "irreversibly" lose what I’ve written (including some HTML blocks).
Is it possible to disable the Rich Editor? And also the button that could accidentally make me switch?
I don’t think switching to the rich text editor changes anything unless you actually make changes to the note while the rich text editor is active, so it is best not to use the rich text editor at all if this is a concern.
It may be that one your plugins is causing the note to be changed when switching between editors. Maybe try duplicating one of your notes with html styling, turn off all of your plugins and restart, then see if switching between editors still causes any loss of content.
The following userchrome.css hides the toolbar buttons to switch editors.
.tox-tbtn {
display: none !important;
}
You can open userchrome.css in your system default notepad by clicking Tools > Options > Appearance > Show Advanced Settings > Custom stylesheet for Joplin-wide app styles.
If you somehow get stuck in the wrong editor while that button is hidden, do the following:
Open Goto Anything (Ctrl+P by default)
Enter :toggleEditors into the text box
Press Enter or click the Toggle editors (toggleEditors) result to switch editors.