-
-
Notifications
You must be signed in to change notification settings - Fork 539
Lists with markdown -> block has degenerate behaviour when run locally, but not in online playground #1645
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
Comments
After testing with other older versions. I don't believe it's a problem with the blocknote version. There might be some type of dependency downstream? Could someone compare the new package.lock with the one that exists in the playground? |
UPDATE: Found the offending package. We need
Latest prosemirror-model 1.25.1 does not work. Updated 4 days ago https://www.npmjs.com/package/prosemirror-model/v/1.25.1?activeTab=versions |
After some more digging, it seems that the info objects are being put into "children" instead of "content", |
Thanks for the research on this, unfortunately I don't have the time to look into this but I do believe it to be introduced by prosemirror. |
We'll dive further into this so we can stay up to date with PM! |
I just wanted to share that I ran into some issues with copy and paste as well as described in #1665 blocknote-copy-paste-bug.mp4 |
Temp fix for drag/drop issues TypeCellOS/BlockNote#1645
Describe the bug
Lists in markdown are not being parsed correctly (See this blocknote example). On playground or the blocknotejs website, the parser seems to behave with intended behaviour, but when I pull and run locally (npm install, npm start in directory), the parse generates a degenerate block. Could someone on the team tell me what version of blocknote is running on the playground? Images of degenerate and proper output attached
degen local

correct playground

To Reproduce
I am using test str:
Try it when running locally with any blocknote version listed in Misc- this outputs a degenerate output. Then try it in the online playground. Both playground and blocknotejs.com output correctly.
Misc
The text was updated successfully, but these errors were encountered: