@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.js CHANGED
@@ -5168,14 +5168,6 @@ var SlideEditor = class extends EventEmitter {
5168
5168
  * @param transaction An editor state transaction
5169
5169
  */
5170
5170
  dispatchTransaction(transaction) {
5171
- var _a;
5172
- console.log("[dispatchTransaction]", {
5173
- hasView: !!this.editorView,
5174
- isDestroyed: this.isDestroyed,
5175
- hasState: !!this.state,
5176
- selection: (_a = this.state) == null ? void 0 : _a.selection,
5177
- bubbleMenuMeta: typeof transaction.getMeta === "function" ? transaction.getMeta("bubbleMenu") : void 0
5178
- });
5179
5171
  if (this.view.isDestroyed) {
5180
5172
  return;
5181
5173
  }
@@ -5185,8 +5177,8 @@ var SlideEditor = class extends EventEmitter {
5185
5177
  return;
5186
5178
  }
5187
5179
  transaction.steps.forEach((step) => {
5188
- var _a2;
5189
- return (_a2 = this.capturedTransaction) == null ? void 0 : _a2.step(step);
5180
+ var _a;
5181
+ return (_a = this.capturedTransaction) == null ? void 0 : _a.step(step);
5190
5182
  });
5191
5183
  return;
5192
5184
  }
@@ -5320,7 +5312,6 @@ var SlideEditor = class extends EventEmitter {
5320
5312
  * Destroy the editor.
5321
5313
  */
5322
5314
  destroy() {
5323
- console.log("[editor destroy]", { instanceId: this.instanceId });
5324
5315
  this.emit("destroy");
5325
5316
  this.unmount();
5326
5317
  this.removeAllListeners();