How do I add "show html" button in Quill like in Wysiwyg?

Michal picture Michal · Jun 28, 2016 · Viewed 12.1k times · Source

I recently found out about Quill text editor and since I am playing with new stuff in php and javascript I decided to use it in my app instead of Wysiwyg.

Quill documentation is really minimalistic though. How do I add a button that allows user to show and edit current html?

Do I have to extend Quill and make one of my own?

Answer

Ben Winding picture Ben Winding · Oct 31, 2019

Well this was still an issue 3 years later.

So I made a little module to accomplish this.

https://github.com/benwinding/quill-html-edit-button

Demo