do not allow other marks within code
This commit is contained in:
@@ -9,6 +9,7 @@ export default class Code extends Mark {
|
|||||||
|
|
||||||
get schema() {
|
get schema() {
|
||||||
return {
|
return {
|
||||||
|
excludes: '_',
|
||||||
parseDOM: [
|
parseDOM: [
|
||||||
{ tag: 'code' },
|
{ tag: 'code' },
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user