i think the issue may be that the contents element is a text area before adding html editor.
set that to be a text box instead, then add html editor.
html editor converts the text box to a text area, i think the element being a text area to begin with is causing the issue.