XF 2.2 formatting - highlight text


New member
i'm struggling to find this solution but perhaps you can help. I'm looking for the style that covers the highlight for text in the editor page. On my site the highlt color is the same as the background so you never see the text highlighted, but i can't figure out what style it is. Does anyone know?

Nicolas FR

Well-known member
It's @xf-paletteColor2 but if will be difficult to target specifically in Style properties the highlighted text in editor
So you can use this code in your extra.less template to change the background color and eventually the text color of highlighted text :
.fr-wrapper ::selection {
    background: #bcdef5;
    color: #141414;


(coming by after forum user complaint)
As of writing

Admin >> Appearance >> Styles >> [your theme] >> Rich text editor >> Selected content

Editor selection background

Editor selection text color