This commit is contained in:
Mo Bitar
2020-04-09 16:23:06 -05:00
parent 8835fd6ebf
commit 75bd2653f7
3 changed files with 10 additions and 16 deletions

View File

@@ -48,8 +48,7 @@ class RevisionPreviewModalCtrl {
contentType: ContentTypes.Component,
content: editorForNote.content
});
editorCopy.readonly = true;
editorCopy.lockReadonly = true;
this.application.component.setReadonlyStateForComponent(editorCopy, true, true);
this.unregisterComponent = this.application.componentManager.registerHandler({
identifier: editorCopy.uuid,
areas: ['editor-editor'],