diff --git a/app/partials/common/components/wysiwyg-toolbar.jade b/app/partials/common/components/wysiwyg-toolbar.jade index 502839d5..24dbe439 100644 --- a/app/partials/common/components/wysiwyg-toolbar.jade +++ b/app/partials/common/components/wysiwyg-toolbar.jade @@ -4,7 +4,7 @@ .medium.wysiwyg( type="text", - ng-show="mode == 'html'" + ng-show="mode == 'html' || !editMode" ) textarea.markdown.e2e-markdown-textarea( @@ -14,14 +14,6 @@ ng-show="mode == 'markdown' && editMode" ) - .markdown( - ng-class="{empty: !markdown.length}" - ng-click="editMode = true" - ng-show="mode == 'markdown' && !editMode" - ) - p(ng-if="markdown.length") {{markdown}} - p.markdown-editor-placeholder.wysiwyg(ng-if="!markdown.length") {{placeholder}} - .mode-editor(ng-if="editMode") span.e2e-markdown-mode( ng-if="mode=='html'"