sccoreui 5.3.4 → 5.3.5

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.
@@ -19,6 +19,9 @@ const FroalaTextEditor = ({ onChange, value, placeholderText, id, className }) =
19
19
  setEditorContent(content);
20
20
  onChange(content);
21
21
  };
22
+ (0, react_1.useEffect)(() => {
23
+ setEditorContent(value);
24
+ }, [value]);
22
25
  // const handleKeyUp = () => {
23
26
  // // Access the current content of the editor
24
27
  // debugger
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "5.3.4",
3
+ "version": "5.3.5",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",