@tiptap/core 2.7.2 → 2.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -342,6 +342,7 @@ function mergeAttributes(...objects) {
342
342
 
343
343
  function getRenderedAttributes(nodeOrMark, extensionAttributes) {
344
344
  return extensionAttributes
345
+ .filter(attribute => attribute.type === nodeOrMark.type.name)
345
346
  .filter(item => item.attribute.rendered)
346
347
  .map(item => {
347
348
  if (!item.attribute.renderHTML) {