Open aried3r opened 4 years ago
Hey @aried3r , no specific reason actually, just it comes from prosemirror's example schema. I see in ur case it would make interop hard.
I plan to soon add pluggability to editor, but current plugins will still work for schema they are made to work with.
I believe the prosemirror-schema-list uses snake_case, while nib-edit explictely overwrite this:
Again, no harm done, since it's your editor and all. Was just wondering :)
Hey! Me again :)
From what I've gathered from the code and from https://github.com/nib-edit/Nib/issues/91 it's currently not possible to load a different schema. My use case is that I want to retain a bit of interoperability between different ProseMirror editors (until we settle and migrate to one) and would like to use the original schema.
From what I've seen I think the only difference is that nib uses camelCase instead of snake_case (e.g.
bulletList
instead ofbullet_list
). I don't mind, but is there any particular reason behind it? (Just curious, doesn't matter for the issue)