Simplemde-markdown-editor: Preview Mode by default

Created on 19 Sep 2016  路  4Comments  路  Source: sparksuite/simplemde-markdown-editor

Is there a way to load the editor already on preview mode?
I'm using it on a form edit page.

Thanks!

Most helpful comment

@andrelgarcia you can do something like

const simplemde = new SimpleMDE(options);

simplemde.togglePreview();

All 4 comments

@andrelgarcia you can do something like

const simplemde = new SimpleMDE(options);

simplemde.togglePreview();

Thanks, man.
And also, sorry. I finally found it on the documentation.

no worries!

@andrelgarcia you can do something like

const simplemde = new SimpleMDE(options);

simplemde.togglePreview();

Is this working? Not for me 馃槩

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nivv picture nivv  路  4Comments

christianmalek picture christianmalek  路  5Comments

asvae picture asvae  路  3Comments

mbeckenbach picture mbeckenbach  路  4Comments

IonicaBizau picture IonicaBizau  路  3Comments