Add resetErrors() method in Editor.js for removing all errors added via addError().