copy and pasting from editor