fix: 失去焦点的时候判断 flag 是否为 失去焦点状态 如果是 则不重复触发
This commit is contained in:
parent
1b4ce837af
commit
f3028270d7
|
@ -53,7 +53,7 @@ function _bindFocusAndBlur(editor: Editor): void {
|
|||
|
||||
if (!isChild) {
|
||||
// 若为选择工具栏中的功能,则不视为成 blur 操作
|
||||
if (isToolbar && !isMenu) {
|
||||
if ((isToolbar && !isMenu) || !editor.isFocus) {
|
||||
return
|
||||
}
|
||||
_blurHandler(editor)
|
||||
|
|
Loading…
Reference in New Issue