Home › Forums › Feature Requests › Custom body class setting for WYSIWYG fields › Reply To: Custom body class setting for WYSIWYG fields
Hm right.. But then adding a custom class to the body won’t do you any good either unless you use the add_editor_style.. but maybe you’ve thought of that already 🙂
I noticed the body element has an data attribute of the field key:
acf-editor-55cbc6fcb7ab7
So maybe you can target that
body[data-id="acf-editor-55cbc6fcb7ab7"]{
}
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.