Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.39k stars 316 forks source link

Disable EasyMDE inside form #49

Open JakeDoe opened 5 years ago

JakeDoe commented 5 years ago

I'm submitting a...

Version information

Browser type and version: latest Chrome EasyMDE version: 2.5.1

Hi, thank you for the awesome plugin and big thanks for the regular updates.

I'm here to ask you about "disabling" feature. I've used your plugin in Formik (Reactjs) and in some cases, I should disable all fields in the form and EasyMDE too.

My feature request is: Can we have "disable" option or not.

Thank you.

jp3492 commented 5 years ago

Any updates on this request? im trying to set the editor to preview by default for users to view, but i cant find the option to programaticalle set the editor to preview

brettkromkamp commented 5 years ago

Same here, thanks for the great editor. Likewise, I am looking for a way to either disable the editor (textarea) or set the editor automatic to preview. Is there any updates on this request?

Ionaru commented 5 years ago

I am not currently working on this part of the editor, but I doubt this would be very difficult to make. From what I get from the comments is that you'd like the editor to be programatically put into preview mode, with the toolbar disabled or hidden. Is that correct?

Pull requests are always welcome!

brettkromkamp commented 5 years ago

This weekend I will take a closer look at the source code and perhaps try to implement it.

KingDarBoja commented 4 years ago

Any updates on this request? im trying to set the editor to preview by default for users to view, but i cant find the option to programaticalle set the editor to preview

Same thing, seems like this feature hasn't been done at the moment and there is no PR addressing that.

vazsonyidl commented 3 years ago

Is there any update on this?

MinionAttack commented 2 years ago

Hi, Is there any update on this?

sorasful commented 2 years ago

Hi ! The ability to have an option to disable the textarea would be great !