diff --git a/editor/js/ui/common/typedInput.js b/editor/js/ui/common/typedInput.js index 6f18a4884..e7a26cf3d 100644 --- a/editor/js/ui/common/typedInput.js +++ b/editor/js/ui/common/typedInput.js @@ -104,9 +104,9 @@ expand:function() { var that = this; RED.editor.editExpression({ - value: jsonata.format(this.value()), + value: this.value().replace(/\t/g,"\n"), complete: function(v) { - that.value(v.replace(/\s*\n\s*/g," ")); + that.value(v.replace(/\n/g,"\t")); } }) }