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

Lexical: Improved table row copy/paste

Added safeguarding/matching of source/target sizes to prevent broken
tables.
This commit is contained in:
Dan Brown
2024-08-22 10:08:08 +01:00
parent ddf5f2543c
commit 8a13a9df80
8 changed files with 132 additions and 31 deletions

View File

@@ -14,6 +14,7 @@ export type EditorUiContext = {
containerDOM: HTMLElement; // DOM element which contains all editor elements
scrollDOM: HTMLElement; // DOM element which is the main content scroll container
translate: (text: string) => string; // Translate function
error: (text: string) => void; // Error reporting function
manager: EditorUIManager; // UI Manager instance for this editor
options: Record<string, any>; // General user options which may be used by sub elements
};