@blockslides/core 0.3.0 → 0.3.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.mjs CHANGED
@@ -5030,14 +5030,6 @@ var SlideEditor = class extends EventEmitter {
5030
5030
  * @param transaction An editor state transaction
5031
5031
  */
5032
5032
  dispatchTransaction(transaction) {
5033
- var _a;
5034
- console.log("[dispatchTransaction]", {
5035
- hasView: !!this.editorView,
5036
- isDestroyed: this.isDestroyed,
5037
- hasState: !!this.state,
5038
- selection: (_a = this.state) == null ? void 0 : _a.selection,
5039
- bubbleMenuMeta: typeof transaction.getMeta === "function" ? transaction.getMeta("bubbleMenu") : void 0
5040
- });
5041
5033
  if (this.view.isDestroyed) {
5042
5034
  return;
5043
5035
  }
@@ -5047,8 +5039,8 @@ var SlideEditor = class extends EventEmitter {
5047
5039
  return;
5048
5040
  }
5049
5041
  transaction.steps.forEach((step) => {
5050
- var _a2;
5051
- return (_a2 = this.capturedTransaction) == null ? void 0 : _a2.step(step);
5042
+ var _a;
5043
+ return (_a = this.capturedTransaction) == null ? void 0 : _a.step(step);
5052
5044
  });
5053
5045
  return;
5054
5046
  }
@@ -5182,7 +5174,6 @@ var SlideEditor = class extends EventEmitter {
5182
5174
  * Destroy the editor.
5183
5175
  */
5184
5176
  destroy() {
5185
- console.log("[editor destroy]", { instanceId: this.instanceId });
5186
5177
  this.emit("destroy");
5187
5178
  this.unmount();
5188
5179
  this.removeAllListeners();