add code editor text for drag/drop