the main idea is simple.. you can load real HTML and CSS into the editor, visually edit the page and then save the result back through your own load/save handlers. The content renders inside an isolated <iframe>, so the page CSS behaves much closer to how it would render in a real browser tab instead of fighting with the editor UI.
In my opinion, it is a good compromise between a lightweight rich-text editor and a heavy page builder and its easily embeddable into your website (especially into a CMS/admin panel)
Repo: https://github.com/neikiri/neiki-page-editor
I just really enjoy web components :D Would love to hear your feedback.