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:
@@ -20,7 +20,10 @@ export function buildEditorUI(container: HTMLElement, element: HTMLElement, scro
|
||||
editorDOM: element,
|
||||
scrollDOM: scrollContainer,
|
||||
manager,
|
||||
translate: (text: string): string => text,
|
||||
translate: (text: string): string => text, // TODO - Implement
|
||||
error(error: string): void {
|
||||
window.$events.error(error); // TODO - Translate
|
||||
},
|
||||
options,
|
||||
};
|
||||
manager.setContext(context);
|
||||
|
||||
Reference in New Issue
Block a user