@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.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,