Merge pull request #2651 from alecmerdler/hide-markdown-view-while-editing
Hide Existing Markdown Content While Editing
This commit is contained in:
commit
93b51c3f4e
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