leaf editor cleanup - extract leaf-wrapper-class
leaf node - extract editor fn
Leaf editor - extract display-node fn