diff --git a/demo/app/mobiledocs/index.js b/demo/app/mobiledocs/index.js index bc688b130..91864ce10 100644 --- a/demo/app/mobiledocs/index.js +++ b/demo/app/mobiledocs/index.js @@ -18,6 +18,8 @@ export default { [] ] }, + 'null': null, + blank: '', inputCard: { version: '0.2.0', sections: [ diff --git a/demo/app/templates/index.hbs b/demo/app/templates/index.hbs index 3e42d54d7..ad6752ff6 100644 --- a/demo/app/templates/index.hbs +++ b/demo/app/templates/index.hbs @@ -20,6 +20,8 @@ + + diff --git a/src/js/editor/editor.js b/src/js/editor/editor.js index 7b0314893..1cd90a0c0 100644 --- a/src/js/editor/editor.js +++ b/src/js/editor/editor.js @@ -439,6 +439,7 @@ class Editor { this._isDestroyed = true; if (this.cursor.hasCursor()) { this.cursor.clearSelection(); + this.element.blur(); } this.removeMutationObserver(); this._mutationObserver = null;