~/Views/RichText/RichText.cshtml is a Sitecore Experience Accelerator rendering and can only be used on a page in an SXA site.