contenteditable fields not handled in config nodes

Fixes #1011
pull/1014/head
Nick O'Leary 2016-10-12 19:54:43 +01:00
parent 8a2ae6c480
commit ec392a7f9a
1 changed files with 2 additions and 0 deletions

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