partially implemented html-editor feature