New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create and edit element using markdown #395
Comments
@StasSpawn Not sure if you need an example like this https://codesandbox.io/s/markdown-editor-for-react-uiwjs-react-md-editor-issues-395-jxcwzq?file=/index.js import MDEditor from "@uiw/react-md-editor";
+ import { commands } from "@uiw/react-md-editor";
+ const commandsObj = [
+ commands.codeEdit,
+ commands.codePreview,
+ commands.divider,
+ commands.fullscreen
+ ];
<MDEditor
+ extraCommands={commandsObj}
+ preview="edit"
height={200}
value={value}
onChange={setValue}
/> |
@jaywcjlove
|
@jaywcjlove Thank you so much for answer! For now i manage to do it myself. But I'm using only 1 MDEditor inside modal window for creating and aditing comments. |
@jaywcjlove Hello. I've return to your examples and realize - they don't have creation functionality.
So, we dont have an initial items with comments, they has to be created and first. |
Can i use this component for:
The text was updated successfully, but these errors were encountered: