Merge branch 'master' into develop

This commit is contained in:
DarkSky
2022-08-07 22:33:30 +08:00
committed by GitHub
21 changed files with 230 additions and 219 deletions

View File

@@ -116,7 +116,7 @@ export const ReferenceMenu = ({ editor, hooks, style }: ReferenceMenuProps) => {
};
const handle_close = () => {
editor.blockHelper.removeSearchSlash(block_id);
block_id && editor.blockHelper.removeSearchSlash(block_id);
};
return (