feat: Link feature add search function

This commit is contained in:
xiaodong zuo
2022-09-03 09:24:03 +08:00
parent e18a35989f
commit a89d5847df
5 changed files with 10 additions and 12 deletions
@@ -181,10 +181,10 @@ const common_handler_for_inline_menu: ClickItemHandler = ({
});
break;
case inlineMenuNamesKeys.link:
add_link({
editor,
blockId: anchorNodeId,
});
// add_link({
// editor,
// blockId: anchorNodeId,
// });
editor.plugins.emit('showAddLink');
setShow(false);
break;