fix(core): viewport element not found in share page (#6453)

This commit is contained in:
L-Sun
2024-04-10 15:26:22 +08:00
committed by GitHub
parent 939fa9cef0
commit 7d131ee9fc
2 changed files with 8 additions and 2 deletions
@@ -118,7 +118,7 @@ export const BlocksuiteDocEditor = forwardRef<
specs={specs}
hasViewport={false}
/>
{docPage ? (
{docPage && !page.readonly ? (
<div
className={styles.docEditorGap}
onClick={() => {