@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.cjs
CHANGED
|
@@ -1292,9 +1292,8 @@ class Extension {
|
|
|
1292
1292
|
// with different calls of `configure`
|
|
1293
1293
|
const extension = this.extend({
|
|
1294
1294
|
...this.config,
|
|
1295
|
-
addOptions() {
|
|
1296
|
-
|
|
1297
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
1295
|
+
addOptions: () => {
|
|
1296
|
+
return mergeDeep(this.options, options);
|
|
1298
1297
|
},
|
|
1299
1298
|
});
|
|
1300
1299
|
// Always preserve the current name
|
|
@@ -4557,9 +4556,8 @@ class Mark {
|
|
|
4557
4556
|
// with different calls of `configure`
|
|
4558
4557
|
const extension = this.extend({
|
|
4559
4558
|
...this.config,
|
|
4560
|
-
addOptions() {
|
|
4561
|
-
|
|
4562
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
4559
|
+
addOptions: () => {
|
|
4560
|
+
return mergeDeep(this.options, options);
|
|
4563
4561
|
},
|
|
4564
4562
|
});
|
|
4565
4563
|
// Always preserve the current name
|
|
@@ -4649,9 +4647,8 @@ class Node {
|
|
|
4649
4647
|
// with different calls of `configure`
|
|
4650
4648
|
const extension = this.extend({
|
|
4651
4649
|
...this.config,
|
|
4652
|
-
addOptions() {
|
|
4653
|
-
|
|
4654
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
4650
|
+
addOptions: () => {
|
|
4651
|
+
return mergeDeep(this.options, options);
|
|
4655
4652
|
},
|
|
4656
4653
|
});
|
|
4657
4654
|
// Always preserve the current name
|