Fixes on aloha-editor for #428.