@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.js
CHANGED
|
@@ -1158,7 +1158,7 @@ class Extension {
|
|
|
1158
1158
|
configure(options = {}) {
|
|
1159
1159
|
// return a new instance so we can use the same extension
|
|
1160
1160
|
// with different calls of `configure`
|
|
1161
|
-
const extension = this.extend();
|
|
1161
|
+
const extension = this.extend(this.config);
|
|
1162
1162
|
extension.options = mergeDeep(this.options, options);
|
|
1163
1163
|
extension.storage = callOrReturn(getExtensionField(extension, 'addStorage', {
|
|
1164
1164
|
name: extension.name,
|
|
@@ -3855,7 +3855,7 @@ class Mark {
|
|
|
3855
3855
|
configure(options = {}) {
|
|
3856
3856
|
// return a new instance so we can use the same extension
|
|
3857
3857
|
// with different calls of `configure`
|
|
3858
|
-
const extension = this.extend();
|
|
3858
|
+
const extension = this.extend(this.config);
|
|
3859
3859
|
extension.options = mergeDeep(this.options, options);
|
|
3860
3860
|
extension.storage = callOrReturn(getExtensionField(extension, 'addStorage', {
|
|
3861
3861
|
name: extension.name,
|