@flozy/editor 9.9.9 → 10.0.1
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.
@@ -95,7 +95,7 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
|
|
95
95
|
site_id,
|
96
96
|
page_title,
|
97
97
|
content,
|
98
|
-
onSave,
|
98
|
+
onSave = () => {},
|
99
99
|
editor: collaborativeEditor,
|
100
100
|
readOnly,
|
101
101
|
otherProps,
|
@@ -359,9 +359,7 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
|
|
359
359
|
const handleEditorChange = newValue => {
|
360
360
|
if (JSON.stringify(newValue) !== JSON.stringify(debouncedValue?.current)) {
|
361
361
|
updateTopBanner(newValue, setTopBanner);
|
362
|
-
|
363
|
-
debounced(newValue);
|
364
|
-
}
|
362
|
+
debounced(newValue);
|
365
363
|
if (!isInteracted) {
|
366
364
|
// setIsInteracted(true);
|
367
365
|
}
|