mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-05 08:39:55 +03:00
Lexical: Added initial form/modal styles
This commit is contained in:
@@ -49,6 +49,9 @@ export function createPageEditorInstance(container: HTMLElement, htmlContent: st
|
||||
setEditorContentFromHtml(editor, htmlContent);
|
||||
|
||||
const debugView = document.getElementById('lexical-debug');
|
||||
if (debugView) {
|
||||
debugView.hidden = true;
|
||||
}
|
||||
editor.registerUpdateListener(({editorState}) => {
|
||||
console.log('editorState', editorState.toJSON());
|
||||
if (debugView) {
|
||||
|
||||
Reference in New Issue
Block a user