Add JSON Expression editor

This commit is contained in:
Nick O'Leary
2017-03-12 23:52:31 +00:00
parent 07d131c945
commit fb24dca019
3 changed files with 125 additions and 3 deletions

View File

@@ -170,6 +170,9 @@
</script>
<script type="text/x-red" data-template-name="_expression">
<div class="form-row" style="margin-bottom: 3px; text-align: right;">
<button id="node-input-expression-reformat" class="editor-button editor-button-small">format</button>
</div>
<div class="form-row node-text-editor-row">
<div style="height: 200px;min-height: 150px;" class="node-text-editor" id="node-input-expression"></div>
</div>
@@ -180,6 +183,14 @@
<div style="min-height: 200px;" id="node-input-expression-help"></div>
</div>
</script>
<script type="text/x-red" data-template-name="_json">
<div class="form-row" style="margin-bottom: 3px; text-align: right;">
<button id="node-input-expression-reformat" class="editor-button editor-button-small">format</button>
</div>
<div class="form-row node-text-editor-row">
<div style="height: 200px;min-height: 150px;" class="node-text-editor" id="node-input-json"></div>
</div>
</script>
<script src="vendor/vendor.js"></script>