mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Lexical: Started comment implementation
Refactors some UI and toolbar code for better abstract use across editor versions.
This commit is contained in:
@ -4,7 +4,7 @@ import {el} from "../../utils/dom";
|
||||
|
||||
export type EditorContextToolbarDefinition = {
|
||||
selector: string;
|
||||
content: EditorUiElement[],
|
||||
content: () => EditorUiElement[],
|
||||
displayTargetLocator?: (originalTarget: HTMLElement) => HTMLElement;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user