Over ride auto-generated alt tag on image added via Rich Text field When I add an image via a rich text (doing as port of a flexi layout approach) somehow an alt tag gets auto output, e.g:

alt="sketch2.jpg#asset:308

I wondered if there is a way to over ride or edit the HTML via the rich text field for the auto generated alt tag?
The Retcon plugin works great for DOM manipulation. You can override the attribute with a default value or remove it completely.

{{ entry.body|retconAttr('img', {'alt': entry.title}) }}




{{ entry.body|retconAttr('img', {'alt': false}) }}