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

fix copy-paste #41

Closed
wants to merge 1 commit into from
Closed

fix copy-paste #41

wants to merge 1 commit into from

Conversation

richmengsix
Copy link
Contributor

The copy-paste functionality within the app was broken because there was no way for the parsing rule to distinguish between block/blockgroup/content.

In this PR, added extra rule conditions for block and content to disambiguate.

NOTE: Copy-pasting external document "into" the editor is still problematic after this fix.

@vercel
Copy link

vercel bot commented Sep 28, 2022

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

Name Status Preview Updated
blocknote ✅ Ready (Inspect) Visit Preview Sep 28, 2022 at 10:57PM (UTC)

@richmengsix
Copy link
Contributor Author

Well, I found this fix is still buggy for list recursions. Looking to see if there are ways around it :/

@YousefED
Copy link
Collaborator

Thanks for this @richmengsix ! Appreciate the PR. @matthewlipski took this as a starting point and made a more extensive fix here: #46. Hope this works for you as well!

@YousefED YousefED closed this Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants