update editor doc because of its textareaAttrs and addButton