fix issue 5014 - show html after save in markdown

stable
Juanfran 2017-03-14 07:48:59 +01:00
parent 5bc63997b6
commit 9ec206fd18
1 changed files with 1 additions and 9 deletions

View File

@ -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'"