ensure Transform.removeMark() doesn't try to remove a MarkType #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FIX: Fix an issue where MarkType removal is attempted instead of removing the Mark.
Issue #17
the current release (v1.2.10) throws the following error in my application.
github.com/ProseMirror/prosemirror-transform@48cf9d348e/src/mark.js (L67)from the looks of it, this was just a typo. i'm guessing my hack of a test hid it because i didn't add marks to the document correctly.
related:
github.com/ProseMirror/prosemirror-transform@47cbf5fd88 (r46805194)Ugh, yes, I did mean that, but the wrong code somehow also made the test pass. Thanks for noticing this!