mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Use string key to initialise editor mode instead of boolean
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user