editor: start using data api on text nodes for keeping references to canvas elements