fixing toJSON when called by JSON.stringify #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-tojson"
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?
This fixes an error that can be thrown if you try to stringify the EditorState inside of parent object. Per the JSON.stringify docs:
This allows the status quo
pluginFieldsbehavior, while still being compatible w/JSON.stringify.That's reasonable. I've clarified the docs a bit in
b6f935e9b7and merged this.