1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-01-03 23:42:28 +03:00

Lexical: Improved table resize bars

Added scoll & page resize handling.
Added cropping/limiting to edit area.
This commit is contained in:
Dan Brown
2024-07-23 12:45:58 +01:00
parent b618287585
commit 2cab778f19
4 changed files with 42 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ export function createPageEditorInstance(container: HTMLElement, htmlContent: st
mergeRegister(
registerRichText(editor),
registerHistory(editor, createEmptyHistoryState(), 300),
registerTableResizer(editor, editArea),
registerTableResizer(editor, editWrap),
);
setEditorContentFromHtml(editor, htmlContent);