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.31k stars 308 forks source link

How to hide editor, when not visible? #578

Open Offerel opened 5 months ago

Offerel commented 5 months ago

Hi there, i want to set the editor to css visibility: hidden; when im in preview mode and visibility: visible; when in edit mode. The reason for this is: I want to use the Browser search function (ctrl + F). If i search for a keyword, it will be found twice, also when the editor is not visible or in use. If i understand it right, if a element is with visibility: hidden; it will not be searched by the browser.