react-markdown-editor-lite
react-markdown-editor-lite copied to clipboard
a light-weight Markdown editor based on React. 一款轻量的基于React的markdown编辑器
## OS and browser Chrome 94.0. ## Description When in preview-only mode (after clicking the eye icon), if one clicks on a menu item such as "bold", "italic", etc, it...
follow the document, I can't use setView API, i used to write like this: `mdEditor.current.setView({to:{menu:false,html:true,md:false}})` but it wont work. Then i find the answer in #156 So i write a...
I need to use undo/redo function in my own button, now I have to use other API to realize undo/redo. But the effect is not good. So can undo/redo API...
outline
How to render the outline area , or support outline?
Here is a simple example, below is the handle change function where everytime a text is added the word random is added at the beginning. ``` const handleEditorChange = ({...
Hi! We are looking into using this package for an application and it looks promising! Thanks! This may be due to an understanding, but we are having some issues. Given...
The editor is configured as: ` mdParser.render(text)} onChange={this.handleEditorChange("generalDescription")} config={{ markdownClass: 'markdownEditorDesc' }} />` Everything is working fine except that if doing a ctrl+z, the entire text is deleted...instead of the...
Hello, This is not an issue, this is a query. We need to use this in our react-native app. Is there any way to display the editor and its preview...
I'm using Next.js and importing the component with dynamic and `ssr: false`. Everything works nice but I'm having an issue with `ref`. When I do `mdEditor.current.getMdValue()` I get `TypeError: mdEditor.current.getMdValue...
标签可修改为 feat 哈,不是bug。 ## 现象 目前仅支持: 1、截图复制,粘贴到编辑器中; 2、对单张图片右键复制,粘贴到编辑器中 ## 其他操作 1、拖动鼠标,选中图片,ctrl+c,粘贴到编辑器中,编辑器只显示图片的 alt 属性。 2、拖动鼠标,同时选中图文,ctrl+c,粘贴到编辑器中,编辑器能够成功粘贴文本,但图片只显示 alt 属性。 ## 疑问 后期是否有计划支持同时复制图文? 或者目前有何思路?我也可以自己尝试一下。 我的思路暂时是通过 clipboard 去获取图片 file 数据,但是测试似乎没有获取到file数据。