Closed
Description
Describe the bug
contenteditable
or contenteditable=""
is equivalent to "true"
according to the spec.
contenteditable
errors with a confusing message:
'contenteditable' attribute cannot be dynamic if element uses two-way binding
contenteditable=""
does not cause errors.
Reproduction
<script>
let value = 'Text';
</script>
<div bind:innerHTML={value} contenteditable />
<p>Bound HTML: {value}</p>
Logs
No response
System Info
REPL - Svelte v5.0.0-next.60
Severity
annoyance