feat(editor): mermaid code editor & improve parsing (#10897)

This commit is contained in:
David Luzar
2026-03-05 18:52:41 +01:00
committed by GitHub
parent 47c254216b
commit c1dbbdf678
19 changed files with 1490 additions and 45 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ export const isWritableElement = (
(target.type === "text" ||
target.type === "number" ||
target.type === "password" ||
target.type === "search"));
target.type === "search")) ||
(target instanceof HTMLElement && target.closest(".cm-editor") !== null);
export const getFontFamilyString = ({
fontFamily,