add type to this context in extensions

This commit is contained in:
Philipp Kühn
2020-10-22 23:21:52 +02:00
parent 6746163dda
commit d8d33c7429
8 changed files with 258 additions and 64 deletions

View File

@@ -17,7 +17,7 @@ const Code = createMark({
},
renderHTML({ attributes }) {
return ['strong', attributes, 0]
return ['code', attributes, 0]
},
addCommands() {