edit marks on text and images