diff --git a/editor/js/ui/editor.js b/editor/js/ui/editor.js index c2e30e814..ea2e97dd4 100644 --- a/editor/js/ui/editor.js +++ b/editor/js/ui/editor.js @@ -979,6 +979,8 @@ RED.editor = (function() { input = $("#node-config-input-"+d); if (input.attr('type') === "checkbox") { newValue = input.prop('checked'); + } else if ("format" in configTypeDef.defaults[d] && configTypeDef.defaults[d].format !== "" && input[0].nodeName === "DIV") { + newValue = input.text(); } else { newValue = input.val(); }