Hey all,
I am using the Rich Text Editor in a CRM project, in which we want the user to be able to edit the content either in WYSIWYG mode, or in Markdown code mode.
On save, we want to extract the text in Markdown format, for storage in our database.
Rationale- in case you're wondering "why not use the HTML mode", my rationale is-
+ We want zero risk of scripts, or external file references
+ The limited tagging of markdown suits us perfectly for this purpose- Headings, basic text formatting, and the ability to include images and links.
+ Simpler to read and manage in our database- which is MONGODB ( thus, JSON data structures ). I'd prefer not to store HTML inside JSON.
I've followed the demo here;
And got it working on IONIC 4 / Angular 7.
However the editor is only showing markdown code, with no WYSIWYG view.
( This is the same behavior shown in the demo, just not what we want for the end product. )
How can I change this?