1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

contenteditable fields not handled in config nodes

Fixes #1011
This commit is contained in:
Nick O'Leary 2016-10-12 19:54:43 +01:00
parent 8a2ae6c480
commit ec392a7f9a

View File

@ -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();
}