Add button Source code source

Is there a way to add a view source button button to the Quilljs editor?

I looked through the documentation and did not explain it or should be developed by the developer.

Any help would be appreciated. Thanks

+4
source share
1 answer

I didn’t look very closely at the api, but I think that you'd better minimize your own button. Quill.js seems to allow you to add your own toolbars to your documentation. I would look at this page to do this. http://quilljs.com/docs/modules/toolbar/

, html , . var html = editor.getHTML(); http://quilljs.com/docs/api/#quillprototypegethtml

, , .

+1

All Articles