Selected text in WYSIWYG editor
Posted
#2086
(In Topic #441)
We old guys appreciate your support!
Posted
The default theme changes the colour as blue is used for other highlights.
That change will by default inherit into other themes.
I suggest changing in global.css:
Code
::selection {
background: {$GET,yellow_highlight_background};
}
Code
.website_body ::selection {
background: {$GET,yellow_highlight_background};
}
That'll make the WYSIWYG use the default selection style, with the yellow only for when selecting site content. We'll make that change in 10.0.1.
Or, you can just remove the whole bit of code if you want the default everywhere.
Or you can put in a CSS colour code of your own.
Posted
Code
::selection {
background: #000000;
color: #ffff00;
}
This applies globally, i.e. in editor windows as well on displayed pages, text input fields, etc.
If you're wanting to display formatted highlighted text within a page, there's a "highlight" tag for that in the Comcode Tag Assistant (under Formatting tags) on the editor toolbar.
0 guests and 0 members have recently viewed this.