@tiptap/core 2.5.0 → 2.5.2
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 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -14
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +6 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/packages/core/src/types.d.ts +0 -5
- package/package.json +3 -3
- package/src/Editor.ts +0 -5
- package/src/Extension.ts +2 -2
- package/src/Mark.ts +2 -2
- package/src/Node.ts +2 -2
- package/src/types.ts +0 -1
package/dist/index.umd.js
CHANGED
|
@@ -1288,9 +1288,8 @@
|
|
|
1288
1288
|
// with different calls of `configure`
|
|
1289
1289
|
const extension = this.extend({
|
|
1290
1290
|
...this.config,
|
|
1291
|
-
addOptions() {
|
|
1292
|
-
|
|
1293
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
1291
|
+
addOptions: () => {
|
|
1292
|
+
return mergeDeep(this.options, options);
|
|
1294
1293
|
},
|
|
1295
1294
|
});
|
|
1296
1295
|
// Always preserve the current name
|
|
@@ -4205,11 +4204,6 @@ img.ProseMirror-separator {
|
|
|
4205
4204
|
}
|
|
4206
4205
|
const state = this.state.apply(transaction);
|
|
4207
4206
|
const selectionHasChanged = !this.state.selection.eq(state.selection);
|
|
4208
|
-
this.emit('beforeTransaction', {
|
|
4209
|
-
editor: this,
|
|
4210
|
-
transaction,
|
|
4211
|
-
nextState: state,
|
|
4212
|
-
});
|
|
4213
4207
|
this.view.updateState(state);
|
|
4214
4208
|
this.emit('transaction', {
|
|
4215
4209
|
editor: this,
|
|
@@ -4558,9 +4552,8 @@ img.ProseMirror-separator {
|
|
|
4558
4552
|
// with different calls of `configure`
|
|
4559
4553
|
const extension = this.extend({
|
|
4560
4554
|
...this.config,
|
|
4561
|
-
addOptions() {
|
|
4562
|
-
|
|
4563
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
4555
|
+
addOptions: () => {
|
|
4556
|
+
return mergeDeep(this.options, options);
|
|
4564
4557
|
},
|
|
4565
4558
|
});
|
|
4566
4559
|
// Always preserve the current name
|
|
@@ -4650,9 +4643,8 @@ img.ProseMirror-separator {
|
|
|
4650
4643
|
// with different calls of `configure`
|
|
4651
4644
|
const extension = this.extend({
|
|
4652
4645
|
...this.config,
|
|
4653
|
-
addOptions() {
|
|
4654
|
-
|
|
4655
|
-
return mergeDeep(((_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this)) || {}, options);
|
|
4646
|
+
addOptions: () => {
|
|
4647
|
+
return mergeDeep(this.options, options);
|
|
4656
4648
|
},
|
|
4657
4649
|
});
|
|
4658
4650
|
// Always preserve the current name
|