Add a markdown input directive and convert both uses of the editor to the directive
This commit is contained in:
parent
9beb627ab0
commit
fd68564b3f
6 changed files with 86 additions and 71 deletions
|
@ -39,10 +39,8 @@
|
|||
|
||||
<div class="section">
|
||||
<strong>Description:</strong><br>
|
||||
<p class="description lead editable" ng-click="editDescription()">
|
||||
<span class="markdown-view content" content="repo.description"></span>
|
||||
<i class="fa fa-edit"></i>
|
||||
</p>
|
||||
<div class="description markdown-input" content="repo.description" can-write="true"
|
||||
field-title="'repository description'"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in a new issue