[ext-edit] set input type='text'

Close #349
Fix Fancytree assertion failed: recursive edit

Close #340