Set the JavaScript editor to full-screen

This commit is contained in:
Nick O'Leary
2018-09-04 13:30:06 +01:00
parent f29d7c9252
commit 6442bb8a13
2 changed files with 2 additions and 1 deletions

View File

@@ -126,6 +126,7 @@
var value = that.editor.getValue();
RED.editor.editJavaScript({
value: value,
width: "Infinity",
cursor: that.editor.getCursorPosition(),
complete: function(v,cursor) {
that.editor.setValue(v, -1);