!185 修复点击编辑区域图标不显示

Merge pull request !185 from wangzhiyusss/master
This commit is contained in:
openharmony_ci 2023-03-03 08:10:16 +00:00 committed by Gitee
commit b0a8f2dc71
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -502,7 +502,7 @@ RICH_EDITOR.getFocus = function () {
return document.getElementById('editorjs').focus();
}
document.getElementById('editorjs').addEventListener('click', () => {
document.getElementById('editorjs_box').addEventListener('click', () => {
if (callBackToApp.getBreakPoint() === 'sm') {
document.getElementById('buttonBox').style.display = 'flex';
}