EditorContext.getContents报错


使用EditorContext.getContents,EditorContext.setContents,时都报这个错 。不知道要怎么写,请指点!!!
2 回复
js:
handleContentInput(e) { console.log(e) const value = e.detail.html } |
wxml:
< editor id = "editor" class = "ql-container" placeholder = "{{placeholder}}" showImgSize showImgToolbar showImgResize bindstatuschange = "onStatusChange" read-only = "{{readOnly}}" bindready = "onEditorReady" bindinput = "handleContentInput" > </ editor > |