html is null” error using set(‘value’) for dijit.Editor
Be aware of the fact the using
editorDijit.set('value', null) will result in an error (“html is null”) rather than setting an empty value.
I’ve experienced this behavior when trying to update a dijit.Editor using dijit.form.Form generated data. It seems like only an empty string can be set for an empty value and not null. You might want to keep that in mind when retrieving data from a database that by default uses NULL-values.