serialize missing marks to plain text #122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "missing-marks-plain-text"
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?
I have some custom marks that don't have a good markdown equivalent (textColor, fontFamily, etc).
Instead of manually creating an empty string open and close for each of them, it would be easier to assume that for missing marks, we have that as the default instead of erroring.
See discussion in #123
Should maybe intentionally throw an error here if mark is missing, like with nodes. Right now it throws
https://github.com/ProseMirror/prosemirror-markdown/pull/122/files#diff-acb372925fbae965051b46d463f48d21b25b28aab81f74d458cf5ce355b8c154L317-R318
Pull request closed