@limetech/lime-elements 38.33.6 → 38.33.8

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.
@@ -28744,6 +28744,7 @@ const ProsemirrorAdapter = class {
28744
28744
  const { doc, tr } = this.view.state;
28745
28745
  const resolvedPos = doc.resolve(this.lastClickedPos);
28746
28746
  const selection = Selection.near(resolvedPos);
28747
+ tr.setMeta('pointer', true);
28747
28748
  this.view.dispatch(tr.setSelection(selection));
28748
28749
  }
28749
28750
  }, 0);
@@ -28866,6 +28867,8 @@ const ProsemirrorAdapter = class {
28866
28867
  if (this.value) {
28867
28868
  this.updateView(this.value);
28868
28869
  }
28870
+ // Initialize lastEmittedValue to prevent false change events
28871
+ this.lastEmittedValue = this.contentConverter.serialize(this.view, this.schema);
28869
28872
  }
28870
28873
  initializeSchema() {
28871
28874
  let nodes = schema$1.spec.nodes;