0.3.9修复onlyoffice 的打开问题
This commit is contained in:
@@ -686,7 +686,7 @@ const computeDocumentStats = (blocks: Block<CustomBlockSchema>[]): DocumentStats
|
||||
};
|
||||
registerEditorBridge(bridge);
|
||||
return () => registerEditorBridge(null);
|
||||
}, [editor, registerEditorBridge]);
|
||||
}, [editor, insertMediaAssetBlock, registerEditorBridge]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!editor) {
|
||||
|
||||
Reference in New Issue
Block a user