Skip to content

Commit

Permalink
fix: toggle default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Feb 5, 2021
1 parent 8ee4adf commit 542bd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export default class ReactRteSlate extends Component {
if (plugin.events.keydown === nx.noop && plugin.hotkey) {
const cmd = this.commands[plugin.id];
if (cmd.isHotkey(inEvent)) {
cmd.toggle();
cmd.toggle(true);
}
}
});
Expand Down

0 comments on commit 542bd1a

Please sign in to comment.