From e1cecc9601cad846a5d7765c10da429771a5fb06 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Sat, 16 Sep 2023 15:46:07 +0900 Subject: [PATCH] Fix height of description editor in template node --- .../node_modules/@node-red/nodes/core/function/80-template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/nodes/core/function/80-template.html b/packages/node_modules/@node-red/nodes/core/function/80-template.html index 6f970a0cf..d44199e7f 100644 --- a/packages/node_modules/@node-red/nodes/core/function/80-template.html +++ b/packages/node_modules/@node-red/nodes/core/function/80-template.html @@ -153,7 +153,7 @@ } var editorRow = $("#dialog-form>div.node-text-editor-row"); height -= (parseInt(editorRow.css("marginTop"))+parseInt(editorRow.css("marginBottom"))); - $(".node-text-editor").css("height",height+"px"); + $("#dialog-form .node-text-editor").css("height",height+"px"); this.editor.resize(); } });