From d33c7f0149cf86740119a566f1779ece25bca994 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Wed, 11 Jul 2018 10:44:58 +0100 Subject: [PATCH] Use string key to initialise editor mode instead of boolean --- services/web/public/coffee/ide/editor/EditorManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/editor/EditorManager.coffee b/services/web/public/coffee/ide/editor/EditorManager.coffee index e1074fb14d..26ddc7dd33 100644 --- a/services/web/public/coffee/ide/editor/EditorManager.coffee +++ b/services/web/public/coffee/ide/editor/EditorManager.coffee @@ -14,7 +14,7 @@ define [ opening: true trackChanges: false wantTrackChanges: false - showRichText: localStorage("editor.mode.#{@$scope.project_id}") or false + showRichText: localStorage("editor.mode.#{@$scope.project_id}") == 'rich-text' } @$scope.$on "entity:selected", (event, entity) =>