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

@@ -122,14 +122,14 @@ export default class ExtensionManager {
getPos: (() => number) | boolean,
decorations: Decoration[],
) => {
const attributes = getRenderedAttributes(node, extensionAttributes)
const HTMLAttributes = getRenderedAttributes(node, extensionAttributes)
return renderer({
editor,
node,
getPos,
decorations,
attributes,
HTMLAttributes,
})
}