Closed surohak closed 3 years ago
@SuroHak There is no way to judge your problem without demonstration.
@jaywcjlove you can see an example here. https://codesandbox.io/s/wizardly-worker-43hwb?file=/src/App.js
https://codesandbox.io/s/elastic-breeze-9k7st?file=/src/App.js
@SuroHak Upgrade + @uiw/react-markdown-editor@3.1.1
import MarkdownEditor from "@uiw/react-markdown-editor";
import { useState } from "react";
import "./styles.css";
export default function App() {
const [val, setVal] = useState("");
return (
<div className="App">
<input
value={val}
onChange={(e) => {
setVal(e.target.value);
}}
/>
<MarkdownEditor
value={val}
onChange={(editor, data, value) => {
setVal(value);
}}
/>
</div>
);
}
ok I will try
Seems fixed )) Thank you @jaywcjlove