@oliasoft-open-source/react-ui-library 3.9.8 → 3.9.9
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -54791,9 +54791,9 @@ const RichTextInput = forwardRef(
|
|
|
54791
54791
|
});
|
|
54792
54792
|
useImperativeHandle(ref2, () => getContext2(), [getContext2]);
|
|
54793
54793
|
const handleChange = ({ helpers, state: state2 }) => {
|
|
54794
|
-
const markdown = helpers.getMarkdown();
|
|
54795
|
-
setState(state2);
|
|
54794
|
+
const markdown = helpers.getMarkdown(state2);
|
|
54796
54795
|
onChange(markdown);
|
|
54796
|
+
setState(state2);
|
|
54797
54797
|
};
|
|
54798
54798
|
return /* @__PURE__ */ jsx("div", {
|
|
54799
54799
|
className: styles$e.richTextInput,
|