@flozy/editor 5.6.2 → 5.6.3

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.
@@ -307,13 +307,11 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
307
307
  hideTools: updatedHideTools || []
308
308
  }) : [];
309
309
  const handleEditorChange = newValue => {
310
- if (!readOnly) {
311
- if (JSON.stringify(newValue) !== JSON.stringify(debouncedValue?.current)) {
312
- updateTopBanner(newValue, setTopBanner);
313
- debounced(newValue);
314
- if (!isInteracted) {
315
- setIsInteracted(true);
316
- }
310
+ if (JSON.stringify(newValue) !== JSON.stringify(debouncedValue?.current)) {
311
+ updateTopBanner(newValue, setTopBanner);
312
+ debounced(newValue);
313
+ if (!isInteracted) {
314
+ setIsInteracted(true);
317
315
  }
318
316
  }
319
317
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "5.6.2",
3
+ "version": "5.6.3",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"