Edit files via the JSON tree view editor

This commit is contained in:
2018-04-01 13:59:34 +02:00
parent ddecda8220
commit c979b13df5
6 changed files with 58 additions and 4 deletions

View File

@@ -42,7 +42,7 @@
<div class="button-group editable">
<button disabled={{documentHideEditor}}
class="{{if documentHideEditor "active"}}"
title="{{if documentShowEditor "Cancel editing"}}"
title="{{if documentHideEditor "Cancel editing"}}"
{{action "cancelEditor"}}>
{{partial "icons/eye"}}
</button>
@@ -62,6 +62,9 @@
<section class="content">
{{file-preview metaData=model.documentMetaData
isJSON=documentIsJSON
isEditable=documentIsEditableHide
showEditor=documentShowEditor
hideEditor=documentHideEditor
jsonShowTree=jsonShowTree
jsonShowSource=jsonShowSource}}
</section>