Rich Text Editor
A Rich Text Editor Web Component
- Tiny
-
load module
<!-- Bottom of body --> <script type="module" src="https://unpkg.com/@danleyb2/rich-text-editor@0.0.3/dist/es6-unbundled/index.js"></script>
-
use component
<rich-text-editor></rich-text-editor>
-
get value
let v = document.querySelector('rich-text-editor').value; console.log(v);