Add Text Editor to sample