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