save text nodes in editor