Tree finally works. Had to change hierarchy of classes
Merge branch 'refs/heads/master' of https://github.com/Rawrz/HTML_Editor.git