Skip to content
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

Merged
merged 11 commits into from
May 16, 2023

Conversation

Saul-Mirone
Copy link
Collaborator

This PR moves surface block into children of page block and keeps the editor has single root.

@codesandbox
Copy link

codesandbox bot commented May 12, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders | Preview

@vercel
Copy link

vercel bot commented May 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2023 3:13am
blocksuite-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2023 3:13am

Copy link
Member

@doodlewind doodlewind left a 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[] = [
}
},
},
{
Copy link
Collaborator Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Contains breaking change that must be addressed
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants