fixed docs and code according to comments on https://github.com/alohaeditor/Aloha-Editor/pull/1205