Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 230
Michal Avatar asked Jun 27 '16 22:06

Michal


1 Answers

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

like image 116
Ben Winding Avatar answered Oct 23 '22 19:10

Ben Winding