setup of richText and share plugins