basic edit insert link functionality