rename attributes to HTMLAttributes

This commit is contained in:
Philipp Kühn
2020-11-13 16:07:20 +01:00
parent 5bccbacf32
commit c840a562de
25 changed files with 55 additions and 51 deletions

View File

@@ -45,8 +45,8 @@ const Image = createNode({
]
},
renderHTML({ attributes }) {
return ['img', attributes]
renderHTML({ HTMLAttributes }) {
return ['img', HTMLAttributes]
},
addCommands() {