On Sitecore 9.1. I've created some custom classes for content authors to use. The authors want these classes to be dropdown options in the rich text editor so they can apply them easily. I added them to the custom stylesheet, the problem is that they display in the dropdown list the same way they display in the rich text - and the font sizes are way too big for that
For example, this class is 92px, and that's not even the largest one they want added. It makes the dropdown list extremely hard to use.
.white-outline-xs {
color: transparent !important;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: white;
font-size: 92px;
}
Is there any way to add classes like this to the Apply CSS Class dropdown? Ideally, they would display "true" css in the rich text window, but just show the name of the class (or maybe the name and color) but not make the font ridiculously big.
Not sure if it matters, but I also tried using ToolsFile.xml - but everything I put in there failed to show up at all. I don't know if the same issue will happen with ToolsFile
e.g.:
<classes>
<class name="White Header XS" value=".white-outline-xs"></class>
</classes>