Elm Virtual Dom diffing algorithm tries to remove the contentEditable
property by doing:
node.contentEditable = null;
which is not supported for contentEditable
.
You can produce the same error by doing in a javascript console:
document.body.contentEditable = null
This is a known bug traced here: bug #104 (specifically #81)
I guess that the work-arounds are:
- use
attribute "contenteditable"
instead - or set the property to
Encode.bool False
instead of removing it from your attributes - or use
Html.Keyed
with a different identifier to force thediv
to be rebuilt