use editor.execCommand in buttons