diff --git a/src/editor/model/Editor.js b/src/editor/model/Editor.js index 3e36d2cb3..66fbbdef2 100644 --- a/src/editor/model/Editor.js +++ b/src/editor/model/Editor.js @@ -701,7 +701,7 @@ export default Backbone.Model.extend({ stopDefault(opts = {}) { const commands = this.get('Commands'); const command = commands.get(this.config.defaultCommand); - if (!command) return; + if (!command || !this.defaultRunning) return; command.stop(this, this, opts); this.defaultRunning = 0; },