Mermaid makes Editor to jump

When at the bottom of a long note I add a mermaid code block and the Joplin layout is side-by-side, every time I type something (even one single character), inside or outside of the mermaid code block, the Joplin Editor will jump some number of lines up! This is super annoying as I cannot see what I’m typing. Also this jumping uses computational resources.

I use the AppImage on Ubuntu 18:04:

Joplin 1.0.201 (prod, linux)

Client ID: 2f9120d318dd49e7889b65150fa0fbeb
Sync Version: 1
Profile Version: 28

Revision: e65af8c (master)

Could you post here the Markdown code you’re using? There’s a small chance this issue will be fixed from the next version because the editor has been entirely refactored.

I basically added the following to the “welcome!” note that is shipped with Joplin:

\```mermaid
graph TD
A[Joplin] --> B[Sidebar]
A[Joplin] --> C[Note List]
A[Joplin] --> D[Note Editor]
\```

(Remember to remove the “” from the beginning of the lines. I had to add them as Discourse also use markdown and I don’t know of a way to add mardown code block inside of a code block!)

A few issues have been logged for this too:

1 Like