Using CSS class names to better identify redactor fields in admin panel #395
Unanswered
stevecomrie
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be great if the
<div>
that wraps a Redactor (or any richtext field) included a class name that identified which configuration file was being used by each specific editor.Currently the wrapper around a Reactor field looks like:
<div class="redactor enlarged">
or
<div class="redactor normal">
If I have 2 different reactor configs, "Option A" and "Option B", it would be great if the handle for those config options could be included in the class attributes, like:
<div class="redactor enlarged optionA">
or
<div class="redactor normal optionB">
This would make it easier to inject custom CSS into the Redactor fields (to provide a better editing experience for content authors) in cases where the style options vary between config options.
Beta Was this translation helpful? Give feedback.
All reactions