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