Add function to add CMSTag and highlight preview