I am experimenting with a simple, rigid schema, like so:
{
text: {},
fields: {
content: 'fieldname fieldval'
},
fieldname: {
content: "text*",
marks: ''
},
fieldval: {
content: 'text*'
},
doc: {
content: "fields+"
}
}
It seems that the default editing commands don’t allow me to either delete fields with backspace, or create new ones with enter. What would be the recommended way to get something like that working?
Demo here (based on the notes/notegroup example): Glitch :・゚✧
Thanks for any help