do not allow other marks within code

This commit is contained in:
Philipp Kühn
2019-05-10 14:56:50 +02:00
parent 7b0de21a3a
commit a1f94056cf

View File

@@ -9,6 +9,7 @@ export default class Code extends Mark {
get schema() { get schema() {
return { return {
excludes: '_',
parseDOM: [ parseDOM: [
{ tag: 'code' }, { tag: 'code' },
], ],