@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 +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/packages/core/src/ExtensionManager.d.ts +2 -1
- package/dist/packages/core/src/types.d.ts +4 -7
- package/package.json +2 -2
- package/src/ExtensionManager.ts +1 -1
- package/src/helpers/getRenderedAttributes.ts +3 -0
- package/src/types.ts +24 -16
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) {
|