Skip to content

Commit

Permalink
fix: toolbar click
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Jun 19, 2022
1 parent 66a6a2c commit ce7ffcf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -6325,8 +6325,6 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re

if (!command && !display) return;
if (target.disabled) return;
if (!core.isReadOnly && !core.hasFocus) core.nativeFocus();
if (!core.isReadOnly && !core._variable.isCodeView) core._editorRange();

core.actionCall(command, display, target);
},
Expand Down

0 comments on commit ce7ffcf

Please sign in to comment.