!40 fix longpress bug

Merge pull request !40 from zhanghongchuan33/master
This commit is contained in:
openharmony_ci
2022-05-10 01:28:35 +00:00
committed by Gitee
@@ -364,6 +364,7 @@ export struct ToolBarComp {
if (this.lastSectionStatus != undefined) {
// 切换为小屏预览模式
this.controllerShow.runJavaScript({ script: "RICH_EDITOR.setInputEnabled(false)" })
this.sectionStatus = this.lastSectionStatus
// 退出全屏时存库
LogUtil.info(TAG, "close note" + this.selectedNoteData.uuid)
this.controllerShow.runJavaScript({ script: "save_html_content()" })