adding text-editor view