Home › Forums › General Issues › Output WYSIWYG Link As Post ID › Reply To: Output WYSIWYG Link As Post ID
Hi John,
Thanks for responding so quickly! I totally understand, I think I need to figure out a new approach.
One angle I’ve thought of is adding the same class to every link that is outputted by the WYSIWYG editor. Is that possible? So say on the front-end every link looked like:
<a href="blahblah" class="scroll-to-link"></a>
I’ve had a look through the TinyMCE documentation but everything seems to be weighted towards styling the editor – I haven’t come across anything that would help me add a class.
Thanks!
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.