Skip to content
Snippets Groups Projects
Commit 6e988031 authored by chris's avatar chris Committed by Yannis Barlas
Browse files

fix: editor view mode

parent 45b0b03c
No related branches found
No related tags found
No related merge requests found
......@@ -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()
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment