Remix.run Logo
Animats 3 days ago

That suggests a new kind of WYSIWYG editor. It only does declarative HTML/CSS, no Javascript. Maybe it edits the DOM, not the source. When you save to a file, the HTML and CSS are generated. Maybe use Webkit to do the rendering.

If you want any Javascript, it has to be in a separate .js file, not mixed in with the document.