Skip to main content

Elements with the contenteditable attribute support the following bindings:

There are slight differences between each of these, read more about them here.

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