feat: Inlinemenu double link interaction
This commit is contained in:
@@ -107,6 +107,7 @@ const common_handler_for_inline_menu: ClickItemHandler = ({
|
||||
editor,
|
||||
anchorNodeId,
|
||||
type,
|
||||
setShow,
|
||||
}) => {
|
||||
switch (type) {
|
||||
case inlineMenuNamesKeys.text:
|
||||
@@ -438,6 +439,10 @@ const common_handler_for_inline_menu: ClickItemHandler = ({
|
||||
blockType: Protocol.Block.Type.file,
|
||||
});
|
||||
break;
|
||||
case inlineMenuNamesKeys.backlinks:
|
||||
editor.plugins.emit('showDoubleLink');
|
||||
setShow(false);
|
||||
break;
|
||||
default: // do nothing
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user