rename attributes to HTMLAttributes
This commit is contained in:
@@ -11,8 +11,8 @@ const HorizontalRule = createNode({
|
||||
]
|
||||
},
|
||||
|
||||
renderHTML({ attributes }) {
|
||||
return ['hr', attributes]
|
||||
renderHTML({ HTMLAttributes }) {
|
||||
return ['hr', HTMLAttributes]
|
||||
},
|
||||
|
||||
addCommands() {
|
||||
|
||||
Reference in New Issue
Block a user