mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 20:16:26 +08:00
feat: Link feature add search function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user