I noticed that the gapcursor is not showing up below a code block which is basically a <pre>
tag.
the schema is as follows:
code_block: {
content: 'text*',
marks: '',
group: 'block',
code: true,
defining: true,
parseDOM: [{tag: 'pre', preserveWhitespace: 'full'}],
toDOM() {
return ['pre', 0]
},
},
i tried adding allowGapCursor: true
to the spec above but did not make a difference.