-
-
Notifications
You must be signed in to change notification settings - Fork 10
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 bug in removing attachments #170
fix bug in removing attachments #170
Conversation
🦋 Changeset detectedLatest commit: 0d27bea The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks @KonnorRogers! That's fab. I tried to verify but I couldn't figure out how to link my test project with this branch ( |
@lylo release should be in a couple mins :) |
That does seem to fix the issue, thank you. I am seeing some other odd behaviour on my app after upgrading though (not on the rhino-test app). I can no longer enter carriage returns. I see this error when hitting return. Nothing has changed in my app other than upgrading to 0.9.3 of Rhino.
I'm also seeing some oddness in the rhino-test app with the placement of images when dragging them into the editor. If I drag to an empty line (so the horizontal line appears before I drop) it seems to work fine, but if I drop at the end of of a line of text, the image appears in the next blank line. I will have to produce a video to demonstrate but that'll have to wait as it's too late right now. |
Let me see if there's some dependencies to dedupe on my end |
@lylo I upgraded the underlying prosemirror + tiptap libraries. You could try either {
"resolutions": {
"prosemirror-model": "^1.2.0"
}
} and make sure to rm -rf node_modules and then re-run if that doesn't fix it' I'd be happy to debug further |
@KonnorRogers I ran
|
@lylo this should fix the issues with figures. I forgot the logic was kind of relying on some undocumented behavior of the editor.
This is the "proper" way to remove a node in ProseMirror / TipTap.
Fixes #168