feat: add textSelectionBubbleMenu.items config and link.bubbleMenuItems config

This commit is contained in:
Michael Yang 2024-06-19 20:57:26 +08:00
parent 1c8c80a53f
commit 22713aa7b5
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import {AllLinkMenuItems} from "./items/link/AllLinkMenuItems.ts";
export class LinkBubbleMenu extends AbstractBubbleMenu {
constructor() {
super();
}

View File

@ -6,7 +6,9 @@ import {removeIf} from "../../util/removeIf.ts";
export class TextSelectionBubbleMenu extends AbstractBubbleMenu {
constructor() {
super();
}
onCreate(props: EditorEvents["create"], options: AiEditorOptions) {
super.onCreate(props, options);