I’m using the color picker to allow my client to change the text color for different posts. I’m using the repeater field, it works great everywhere except for the WYSIWYG editor. As I’m trying to make it simple to use, is there any way I can change the starting text color of the editor to the color picker used for the rest of the post?
This is what I’ve tried, but it doesn’t work <p style="color:<?php the_field('segment_text_color'); ?>"><?php the_field('segment_content'); ?></p>
Inline styling works for all the other sections but not the editor. I know it has something to do with the editor adding it’s own tags, but I’m not sure how to get it to work.