Elements with a contenteditable="true" attribute support textContent and innerHTML bindings:

<div
	contenteditable="true"
	bind:innerHTML={html}
></div>


			
loading editor...

Console

loading Svelte compiler...


			
loading editor...

Compiler options

result = svelte.compile(source, {
generate:
});


			
loading editor...