@limetech/lime-elements 38.33.7 → 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.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +3 -0
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js.map +1 -1
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +3 -0
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js.map +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +3 -0
- package/dist/esm/limel-prosemirror-adapter.entry.js.map +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-787be044.entry.js → p-df9bcace.entry.js} +2 -2
- package/dist/lime-elements/{p-787be044.entry.js.map → p-df9bcace.entry.js.map} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [38.33.8](https://github.com/Lundalogik/lime-elements/compare/v38.33.7...v38.33.8) (2025-12-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **text-editor:** prevent false change events from causing form to be dirty ([ea53c59](https://github.com/Lundalogik/lime-elements/commit/ea53c5903027e2fec9ea7412e49d5eaf139690a8))
|
|
8
|
+
|
|
1
9
|
## [38.33.7](https://github.com/Lundalogik/lime-elements/compare/v38.33.6...v38.33.7) (2025-12-12)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -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;
|