Elements with the contenteditable attribute support the following bindings:
contenteditable
innerHTML
innerText
textContent
There are slight differences between each of these, read more about them here.
<div contenteditable="true" bind:innerHTML={html} ></div>