react-markdown-editor-lite icon indicating copy to clipboard operation
react-markdown-editor-lite copied to clipboard

setView API and undo/redo API

Open Pats666 opened this issue 3 years ago • 2 comments

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 sand box for using setView API. You can change the view among html, markdown and htmlAndMarkdown mode. Also i realize the undo/redo API although project doesn't provide it. I hope it will help someone. https://codesandbox.io/s/cool-sound-czfku

Pats666 avatar Aug 16 '21 06:08 Pats666

image i find a new problem,could u please help me

lush-99 avatar Aug 14 '23 02:08 lush-99

@Pats666

lush-99 avatar Aug 14 '23 02:08 lush-99