@tiptap/core 2.1.0-rc.0 → 2.1.0-rc.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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/packages/core/src/Extension.d.ts +1 -1
- package/dist/packages/core/src/Mark.d.ts +1 -1
- package/package.json +2 -2
- package/src/Extension.ts +1 -1
- package/src/Mark.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1162,7 +1162,7 @@ class Extension {
|
|
|
1162
1162
|
configure(options = {}) {
|
|
1163
1163
|
// return a new instance so we can use the same extension
|
|
1164
1164
|
// with different calls of `configure`
|
|
1165
|
-
const extension = this.extend();
|
|
1165
|
+
const extension = this.extend(this.config);
|
|
1166
1166
|
extension.options = mergeDeep(this.options, options);
|
|
1167
1167
|
extension.storage = callOrReturn(getExtensionField(extension, 'addStorage', {
|
|
1168
1168
|
name: extension.name,
|
|
@@ -3859,7 +3859,7 @@ class Mark {
|
|
|
3859
3859
|
configure(options = {}) {
|
|
3860
3860
|
// return a new instance so we can use the same extension
|
|
3861
3861
|
// with different calls of `configure`
|
|
3862
|
-
const extension = this.extend();
|
|
3862
|
+
const extension = this.extend(this.config);
|
|
3863
3863
|
extension.options = mergeDeep(this.options, options);
|
|
3864
3864
|
extension.storage = callOrReturn(getExtensionField(extension, 'addStorage', {
|
|
3865
3865
|
name: extension.name,
|