Issue with HTML in dhtml tree while editing

Hi ,
We are using DHTMLX Tree (suite 5 Pro). The tree that we have is editable i.e; the nodes label can be edited. We have an issue, though we can display HTML in the nodes , after we edit it, the html gets stripped off(in the attached recorded gif you can see it strips the br html tags . How can we make sure html is saved “as it is” in Tree during edit? I know there are options like columntypes in dhtmlx grid ed, edtxt, edn to specify data type. Do we have anything that will allow us to save html in DHTMLX Tree?

editorissue

Hello.

Unfortunately the dhtmlxTree editor is not able to work with the html content. Only the text context itself can be dispalyed in the tree editor.

The only solution in this case is to redefine the default edit functionality in the sources of the dhtmlxTree.
Like:
http://snippet.dhtmlx.com/5/fe0f02c20

Brilliant solution. Thank you semantik