@limetech/lime-elements 37.70.5 → 37.71.0

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 CHANGED
@@ -1,3 +1,11 @@
1
+ ## [37.71.0](https://github.com/Lundalogik/lime-elements/compare/v37.70.5...v37.71.0) (2024-11-26)
2
+
3
+
4
+ ### Features
5
+
6
+
7
+ * **text editor:** add stopTrigger function to inserter factory ([88349f3](https://github.com/Lundalogik/lime-elements/commit/88349f345c2154d60f84c53ab31113db068b4605))
8
+
1
9
  ## [37.70.5](https://github.com/Lundalogik/lime-elements/compare/v37.70.4...v37.70.5) (2024-11-26)
2
10
 
3
11
 
@@ -26147,6 +26147,12 @@ const inserterFactory = (view) => {
26147
26147
  transaction.setMeta('stopTrigger', true);
26148
26148
  dispatch(transaction);
26149
26149
  },
26150
+ stopTrigger: () => {
26151
+ const { state, dispatch } = view;
26152
+ const transaction = state.tr;
26153
+ transaction.setMeta('stopTrigger', true);
26154
+ dispatch(transaction);
26155
+ },
26150
26156
  };
26151
26157
  };
26152
26158
  const createNode = (input, schema) => {