diff --git a/src/element/textWysiwyg.tsx b/src/element/textWysiwyg.tsx index 5743a69d..1045a5ec 100644 --- a/src/element/textWysiwyg.tsx +++ b/src/element/textWysiwyg.tsx @@ -89,6 +89,9 @@ export const textWysiwyg = ({ editable.dataset.type = "wysiwyg"; // prevent line wrapping on Safari editable.wrap = "off"; + editable.className = `excalidraw ${ + appState.appearance === "dark" ? "Appearance_dark" : "" + }`; Object.assign(editable.style, { position: "fixed",