AsciidocFX icon indicating copy to clipboard operation
AsciidocFX copied to clipboard

Editor freaks out when editing mermaid diagrams

Open GregJohnStewart opened this issue 2 years ago • 0 comments

Running on Ubuntu 20.04

When I go to edit a mermaid diagram, sometimes it is fine, but after a few edits both the source view and the preview start flashing between a blank screen and what is supposed to be there. The top bar elements are unaffected.

Sometimes it snaps out of it, sometimes it doesn't and requires a restart. I can try to make a gif of the behavior upon the request.

To me, I'm interpreting it as an invalid syntax is given for a mermaid diagram (for instance, while editing) issue, where it tries to render the diagram, gets an error, and refreshes the views as it retries to render the diagram. (this is just a guess, I don't know for sure).

GregJohnStewart avatar Mar 08 '22 22:03 GregJohnStewart