ensure mode is set for event log viewer

This commit is contained in:
Steve-Mcl 2021-04-29 17:29:54 +01:00
parent f29488b24f
commit 37ba409dc3
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ RED.eventLog = (function() {
var trayBody = tray.find('.red-ui-tray-body');
var dialogForm = RED.editor.buildEditForm(tray.find('.red-ui-tray-body'),'dialog-form',type,'editor');
eventLogEditor = RED.editor.createEditor({
mode:"ace/mode/shell",
id: 'red-ui-event-log-editor',
value: backlog.join("\n"),
lineNumbers: false,