wysihtml5
wysihtml5 copied to clipboard
Source view documentation?
On http://wysihtml.com/, the example text editor has a "show source" button that shows the HTML source of the editor. However, the wiki doesn't show how I can implement this in my own wysihtml editor.
More than a code issue, this is a documentation issue more than anything else.
Add an anchor inside your toolbar that contains these attributes:
<a href="javascript:;" data-wysihtml5-action="change_view">html</a>