I was looking at ProseMirror schema example and made a small edit of it on Glitch: schema with block star I changed the star schema from inline to block:
star: {
inline: false,
group: "block",
selectable: true,
atom: true,
toDOM() { return ["star", "🟊"] },
parseDOM: [{tag: "star"}]
},
However, when the star is first in the editor, I cannot delete it with delete
key:
Is this by design - am I missing something? If it’s a bug, what is the best place to open it? (I looked on github, but not sure whether to open in prosemirror-view, schema, core)