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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user