texteditor custom button documentation