write tag to editor