mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Set the JavaScript editor to full-screen
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user