@tldraw/editor 3.11.0-canary.4ca19fc0acd0 → 3.11.0-canary.4d6af8940704

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-cjs/index.js CHANGED
@@ -374,7 +374,7 @@ function debugEnableLicensing() {
374
374
  }
375
375
  (0, import_utils.registerTldrawLibraryVersion)(
376
376
  "@tldraw/editor",
377
- "3.11.0-canary.4ca19fc0acd0",
377
+ "3.11.0-canary.4d6af8940704",
378
378
  "cjs"
379
379
  );
380
380
  //# sourceMappingURL=index.js.map
@@ -1641,10 +1641,6 @@ class Editor extends (_a = import_eventemitter3.default, _getIsShapeHiddenCache_
1641
1641
  * @public
1642
1642
  */
1643
1643
  setRichTextEditor(textEditor) {
1644
- const current = this._currentRichTextEditor.__unsafe__getWithoutCapture();
1645
- if (current !== textEditor) {
1646
- current?.destroy();
1647
- }
1648
1644
  this._currentRichTextEditor.set(textEditor);
1649
1645
  return this;
1650
1646
  }