配置onfocus函數后,用戶點擊富文本區域會觸發onfocus函數
```
editor.customConfig.onfocus = function () {
console.log("onfocus")
}
editor.create()
```
配置onblur函數后,如果當前有手動獲取焦點的富文本并且鼠標點擊富文本以外的區域,則會觸發onblur函數執行。
```
editor.customConfig.onblur = function (html) {
// html 即編輯器中的內容
console.log('onblur', html)
}
editor.create()
```