hide existing Markdown content while editing

This commit is contained in:
alecmerdler 2017-05-17 18:00:31 -07:00
parent 2a5c1f0840
commit 0103b65ed1

View file

@ -4,7 +4,7 @@
ng-if="$ctrl.canWrite && !$ctrl.isEditing"
ng-click="$ctrl.editContent()"
data-title="Edit {{ ::$ctrl.fieldTitle }}" data-placement="left" bs-tooltip></span>
<div ng-if="$ctrl.content">
<div ng-if="$ctrl.content && !$ctrl.isEditing">
<markdown-view content="$ctrl.content"></markdown-view>
</div>
<!-- Not set and can write -->