mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Lexical: Added table column cut/copy/paste support
This commit is contained in:
@ -21,8 +21,9 @@ export function buildEditorUI(container: HTMLElement, element: HTMLElement, scro
|
||||
scrollDOM: scrollContainer,
|
||||
manager,
|
||||
translate: (text: string): string => text, // TODO - Implement
|
||||
error(error: string): void {
|
||||
window.$events.error(error); // TODO - Translate
|
||||
error(error: string|Error): void {
|
||||
const message = error instanceof Error ? error.message : error;
|
||||
window.$events.error(message); // TODO - Translate
|
||||
},
|
||||
options,
|
||||
};
|
||||
|
Reference in New Issue
Block a user