Sitecore has the ability to expand the set of classes that is used in the
Rich Text Editor. When I choose any of these custom classes, the styles of this class are really applied on text and everything is displayed correctly inside
But when I press Accept button, and thereby returning from
RTE again to the
Content Editor, in the preview window we see the default text without any styles. As I understand it, the problem is that when we leave
RTE, we lose the file that contains the styles for classes, and although the element still have class, there is no file to get it's styles.
I tried to add directly in html of the
Content Editor page link to this
css-file, but it doesn't help - styles are not applied.
I wonder why is this happening and how can I fix this?