How to use js/quill editor to write a rich text editor for switching between source code and text

make a rich text editor with quill editor, but hope to have a button and click to switch between the text and the source code. The effect is as follows:

I don"t know what to do. I"m not very good at data binding. I hope someone will teach me. Thank you.


has this piece been finally implemented? What is the specific idea


you can refer to this article to successfully implement
https://codeshelper.com/a/11.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45b9e-43eb1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45b9e-43eb1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?