diff --git a/lib/adapters/stable-adapter.js b/lib/adapters/stable-adapter.js index a5414624..1c4bbd52 100644 --- a/lib/adapters/stable-adapter.js +++ b/lib/adapters/stable-adapter.js @@ -111,6 +111,7 @@ export default class StableAdapter { editorDestroyed () { return !this.textEditor || this.textEditor.isDestroyed() || - !this.textEditorElement.getModel() + !this.textEditorElement.getModel() || + !this.textEditorElement.parentNode } }