diff --git a/app/components/SimpleEditor/ContainerEditor.js b/app/components/SimpleEditor/ContainerEditor.js index 011b3675a6ec6477f2b9ab8592df1ce566dceab2..9b74f70702a7347543e6f8851c4729ace53f87ba 100644 --- a/app/components/SimpleEditor/ContainerEditor.js +++ b/app/components/SimpleEditor/ContainerEditor.js @@ -36,8 +36,7 @@ class ContainerEditor extends SubstanceContainerEditor { this.el.focus() // TODO notworking if (this.isReadOnlyMode()) { - const documentSession = this.getDocumentSession() - documentSession.on('didUpdate', this.disableToolbar, this) + this.editorSession.onUpdate('', this.disableToolbar, this) this.addTargetToLinks() }