fix(plugin): make group menu invisible when leave

This commit is contained in:
austaras
2022-07-28 16:24:46 +08:00
parent 6cd8fe6832
commit e150b7c32a
8 changed files with 69 additions and 59 deletions

View File

@@ -11,8 +11,7 @@ const createClipboardParse = ({
workspaceId,
rootBlockId,
}: CreateClipboardParseProps) => {
const editor = createEditor(workspaceId);
editor.setRootBlockId(rootBlockId);
const editor = createEditor(workspaceId, rootBlockId);
return new ClipboardParse(editor);
};