wysiwyg-editor
wysiwyg-editor copied to clipboard
Markdown text is lost - plugin is not usable
Expected behavior.
When I switch to markdown mode and enter markdown text I expect that I can retrieve that text via API for saving. Later when the user comes back he/she should be able to get the editor initialized with that saved text to continue writing.
Actual behavior.
When switching to markdown mode the entered text is separate to the text value that I can retrieve via API. For non-markdown text we use editor.html.get() but there is no documented method to get the markdown text.
Steps to reproduce the problem.
Look at the documentation here: https://froala.com/markdown-plugin/
Editor version.
angular-froala-wysiwyg 4.0.10
OS.
Windows 10
Browser.
Edge v99
Recording.
no
There is seriously no point to the plugin without the ability to pass markdown in and get markdown out. Due to this lack, we have to use a totally different editor component for markdown content.
Useless plugin as of right now. Please add ability to set/get markdown directly, without converting to html.