-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(store): change editor structure to single root block #2554
refactor(store): change editor structure to single root block #2554
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders | Preview |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
f7a115a
to
7d525c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would require migration (e.g., trying to export YDoc from https://blocksuite-toeverything.vercel.app/?init and import locally).
@@ -174,6 +174,56 @@ const migrations: Migration[] = [ | |||
} | |||
}, | |||
}, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@doodlewind Does this migration look good to you?
This PR moves surface block into children of page block and keeps the editor has single root.