Fixed bug when calling event onSetValue.
Also fixed bug when committing editors the plugin could mistake inner html for being an editor and crash.