mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +08:00
do not allow other marks within code
This commit is contained in:
parent
7b0de21a3a
commit
a1f94056cf
@ -9,6 +9,7 @@ export default class Code extends Mark {
|
||||
|
||||
get schema() {
|
||||
return {
|
||||
excludes: '_',
|
||||
parseDOM: [
|
||||
{ tag: 'code' },
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user