mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Lexical: Further improvements to table selection and captions
- Fixed errors with selection and range handling due to captions existing. - Updated TableNode change handling to update existing DOM instead of re-creating, which avoids breaking an attached selection helper. - To support, Added function to handle node change detection and apply relevant dom updates for common properties.
This commit is contained in:
@ -56,7 +56,7 @@ class TableSelectionHandler {
|
||||
tableNode,
|
||||
tableElement,
|
||||
this.editor,
|
||||
false,
|
||||
true,
|
||||
);
|
||||
this.tableSelections.set(nodeKey, tableSelection);
|
||||
}
|
||||
|
Reference in New Issue
Block a user