diff --git a/services/web/public/src/ide/editor/directives/aceEditor.js b/services/web/public/src/ide/editor/directives/aceEditor.js index 6212323700..3cb3687737 100644 --- a/services/web/public/src/ide/editor/directives/aceEditor.js +++ b/services/web/public/src/ide/editor/directives/aceEditor.js @@ -756,7 +756,11 @@ define([ // respect the readOnly setting, normally false editor.setReadOnly(scope.readOnly) triggerEditorInitEvent() - initSpellCheck() + + if (!scope.readOnly) { + initSpellCheck() + } + initTrackChanges() initUndo()