Closed vshih closed 3 years ago
The documentation states that in the edit() callback "You can access the node's title using .text". However this returns an HTML-encoded value:
jstree.edit(node, origVal, function (newNode, status, didCancel) { console.log(node.text); }
upon input of say "This & that" will output
This & that
Is there a way to access the raw, unencoded value?
The documentation states that in the edit() callback "You can access the node's title using .text". However this returns an HTML-encoded value:
upon input of say "This & that" will output
Is there a way to access the raw, unencoded value?