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

@@ -175,6 +175,7 @@ export class EditorUIManager {
protected setupEditor(editor: LexicalEditor) {
// Update button states on editor selection change
editor.registerCommand(SELECTION_CHANGE_COMMAND, () => {
console.log('select change', arguments);
this.triggerStateUpdate({
editor: editor,
selection: $getSelection(),