Thanks for updating the component!
Some minor UX that could be improved:
-
Could use some space to avoid overlapping the scrollbar (or using a thin scrollbar, that would work too)
-
The scroll bar is forced to appear even if not required. Can’t we put overflow on auto instead? It affects the fullscreen and can show a double scrollbar, too:
-
If inserting more than two mermaid charts, the editor can be (very) laggy (also depends on the size). (This was the case before the update, too.) Here is an example of typing without interruption:
I wonder if it’s possible; this seems difficult. Ideally, you would serve a cached output and re-render it only when a change happens in the source.