hide existing Markdown content while editing
This commit is contained in:
parent
2a5c1f0840
commit
0103b65ed1
1 changed files with 1 additions and 1 deletions
|
@ -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 -->
|
||||
|
|
Reference in a new issue