Instead of checking RT flag at compile time, adjust at run time

This commit is contained in:
Alasdair Smith
2018-04-06 16:59:06 +01:00
parent d433a88158
commit c3b2af4345
2 changed files with 2 additions and 4 deletions
@@ -39,6 +39,7 @@ div.full-size(
ace-editor="editor",
ng-if="!editor.richText",
ng-show="!!editor.sharejs_doc && !editor.opening",
style=showRichText ? "top: 40px" : "",
theme="settings.theme",
keybindings="settings.mode",
font-size="settings.fontSize",