Enhancement: 1.2.1
Search & Replace: 2.2.0
Text Colorize: 1.2.3
Editor
Rich Text Editor
What issue do you have?
Hi Everyone,
I really like some help for my poor css.
I just imported enex file from evernote export and import into Joplin in html format.
I choose html format to preserve the format that otherwise will be lost in markdown.
I'd like to change the background color of the rich text editor to green.
I have set it up for markdown mode and markdown preview.
However the background color of the rich text editor is still white. It is white only for the html note imported from evernote.
I tried to set new css by inspecting elements. If I change
.tox, .tox-edit-area__iframe{
background-color:
}
in the troubleshooting tool, it works. the rich text editor's background becomes green.
However, pasting the code into userchrome.css does not work after restarting.
If the first note is html note, and the editor is one panel, then the background is white.
I can change that by selecting a markdown note, the rich editor now has green background. Then I go back to the html note, the rich text editor continues to have green background.
However, if I further toggle two-panel and then go back to one-panel, the background becomes white again.
So the solution is that in rich text editor, I have to first open a markdown note to set the background green, and then html note in the rich text editor will have green background.
Yes I have tried. I have exported enex files containing a single note.
This is the same. Once I toggle two panel and go back to one panel, the background becomes white.
This actually worked!
I pasted the html content of an import note into the markdown editor.
Toggle two-panel and then one-panel. The background is still green. So what's the issue here?
I would love to know that as well. I opened another thread also asking about formatting notes with markup HTML, but I wonder if we could solve this in another way, i.e., importing the HTML from from Evernote into Joplin as notes with markup Markdown, but without converting the HTML to Markdown.
It turns out that the html notes are stored internally as html file, even when you edit it in the markdown editor.
The evidence is that if you export a html note to markdown + front matter, the output file is still an html file!
So the solution is the following:
export notes to markdown + front matter
change the html file extension to md
import the markdown + front matter backinto joplin
Then even though this note contains extensive html markup, in Joplin it is recognized as a markdown note, and the background color works because as we know it works for the markdown notes!