@tiptap/core 2.5.1 → 2.5.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 +6 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -9
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +6 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/Extension.ts +2 -2
- package/src/Mark.ts +2 -2
- package/src/Node.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -1290,9 +1290,8 @@ class Extension {
|
|
|
1290
1290
|
// with different calls of `configure`
|
|
1291
1291
|
const extension = this.extend({
|
|
1292
1292
|
...this.config,
|
|
1293
|
-
addOptions() {
|
|
1294
|
-
|
|
1295
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
1293
|
+
addOptions: () => {
|
|
1294
|
+
return mergeDeep(this.options, options);
|
|
1296
1295
|
},
|
|
1297
1296
|
});
|
|
1298
1297
|
// Always preserve the current name
|
|
@@ -4555,9 +4554,8 @@ class Mark {
|
|
|
4555
4554
|
// with different calls of `configure`
|
|
4556
4555
|
const extension = this.extend({
|
|
4557
4556
|
...this.config,
|
|
4558
|
-
addOptions() {
|
|
4559
|
-
|
|
4560
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
4557
|
+
addOptions: () => {
|
|
4558
|
+
return mergeDeep(this.options, options);
|
|
4561
4559
|
},
|
|
4562
4560
|
});
|
|
4563
4561
|
// Always preserve the current name
|
|
@@ -4647,9 +4645,8 @@ class Node {
|
|
|
4647
4645
|
// with different calls of `configure`
|
|
4648
4646
|
const extension = this.extend({
|
|
4649
4647
|
...this.config,
|
|
4650
|
-
addOptions() {
|
|
4651
|
-
|
|
4652
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
4648
|
+
addOptions: () => {
|
|
4649
|
+
return mergeDeep(this.options, options);
|
|
4653
4650
|
},
|
|
4654
4651
|
});
|
|
4655
4652
|
// Always preserve the current name
|