Open Propo41 opened 3 years ago
You can hide the toolbar in the options and call the preview method after initialisation.
@Ionaru how do you know when the editor finished initializing? is there like onInit
method/event to hook into?
After ... = new EasyMDE(...);
After
... = new EasyMDE(...);
but that takes time to instantiate.. so prob a setTimeout
should be used?
And then what do I call on the instance to programmatically turn on preview mode?
I'm trying to find a way to enable the preview mode by default and disable the user interaction with the toolbar