-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Allow an empty paragraph child on converting from markdown #5517
Allow an empty paragraph child on converting from markdown #5517
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Thanks, the proposal is reasonable, should we just compare whether clearing the last one leads to an empty state? Also, root canBeEmpty
is just a product of inheriting ElementNode, the only case where this is valid is when starting the editor and the expectation is that soon after it will be populated with the bootstrapping content (the case where this is the most obvious is in collab)
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.
Thank you for iterating on this!
fixes #5516
after:
after.mov