mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 20:46:38 +08:00
chore: update blocksuite (#1378)
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com> Co-authored-by: DarkSky <darksky2048@gmail.com>
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@blocksuite/blocks": "0.5.0-20230305195734-5878b62",
|
||||
"@blocksuite/editor": "0.5.0-20230305195734-5878b62",
|
||||
"@blocksuite/blocks": "0.5.0-20230307101545-7d5aefc",
|
||||
"@blocksuite/editor": "0.5.0-20230307101545-7d5aefc",
|
||||
"@blocksuite/icons": "2.0.17",
|
||||
"@blocksuite/react": "0.5.0-20230305195734-5878b62",
|
||||
"@blocksuite/store": "0.5.0-20230305195734-5878b62",
|
||||
"@blocksuite/react": "0.5.0-20230307101545-7d5aefc",
|
||||
"@blocksuite/store": "0.5.0-20230307101545-7d5aefc",
|
||||
"@emotion/cache": "^11.10.5",
|
||||
"@emotion/react": "^11.10.6",
|
||||
"@emotion/server": "^11.10.0",
|
||||
|
||||
@@ -83,7 +83,8 @@ const PublicWorkspaceDetailPageInner: React.FC<{
|
||||
pageId={pageId}
|
||||
blockSuiteWorkspace={blockSuiteWorkspace}
|
||||
onLoad={(_, editor) => {
|
||||
editor.readonly = true;
|
||||
const { page } = editor;
|
||||
page.awarenessStore.setReadonly(page, true);
|
||||
}}
|
||||
header={
|
||||
<NavContainer>
|
||||
|
||||
Reference in New Issue
Block a user