WYHIWHG / richText editor that allows HTML content


I need WYHIWHG / richText editor that allows HTML content, like I can add embedded HTML tags and write HTML, with the rest of WYHIWHG / richText options, like:

<iframe width="560" height="315" src="https://www.youtube.com/embed/eX3ZyLNbV_Y" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>


Is there some package that allows that?


Are you looking for something like CodeMirror?

If you don’t need anything as feature rich, you can always just use a textarea: https://jsfiddle.net/jamesbrndwgn/y9f4xcnq/1/

I need something like vue-quill-editor | Homepage | Surmon's projects ( that has all the options of WYSIWYG editor) but with the addon to accept raw HTML code.

I hope I clarify it more. If something like that exists.

I’m not sure this exists as a WYSIWYG as…well, the whole point of it is to act as a layer so the end user doesn’t have to know anything about html. Maybe have a look at TipTap. It’s built on top of ProseMirror and is very extensible so you may be able to build your own plugins that can handle what you want.