Truncate correctly the text display in the tree.
Add event on the elements inserted in js
Only let the node name if the textarea is empty
We can also have some empty string