@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.cjs CHANGED
@@ -344,6 +344,7 @@ function mergeAttributes(...objects) {
344
344
 
345
345
  function getRenderedAttributes(nodeOrMark, extensionAttributes) {
346
346
  return extensionAttributes
347
+ .filter(attribute => attribute.type === nodeOrMark.type.name)
347
348
  .filter(item => item.attribute.rendered)
348
349
  .map(item => {
349
350
  if (!item.attribute.renderHTML) {