Hello,
I’m using EE 6.0.3 and have a RTE field type. Is there a way to modify RTE so I can have a custom class for images? I’ve googled, but failed. When I insert an image the class looks like this on the front end:
<figure class="image image-style-side">
<img src="https://foo.com/avatar_me.png" alt="" />
<figcaption>Me</figcaption>
</figure>
I’d like to change the class attribute in the figure tag.
update:
I’m poking around in themes/ee/rte/scripts and unsure which file to change.
There is currently no way to edit the class of the image using the native RTE field. If you’d like to have more advanced functionality in an editor, then I’d suggest you try an add-on like Wyvern or WYGWAM.
If you’d like to submit implementing a more powerful editor as a feature request, please do so via the GitHub repo here: https://github.com/ExpressionEngine/ExpressionEngine/issues/new?assignees=&labels;=&template=3-feature-request.md
thanks.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.