22850 Posts in 9874 Topics by 2803 members
|Go to End|
16 January 2009 at 12:48pm Last edited: 16 January 2009 1:47pm
I noticed when I do "insert image", the alt attribute is missing from img tag:
<img class="left" src="assets/Uploads/SilverStripeLogo.png?r=59381" hspace="null" vspace="null" width="424" height="376" align="null" >
It has other attributes that I don't need such as hspace, vspace, and class. Is there a workaround so that when I do an "insert image", it will automatically insert the alt tag?
From searching thru the forum and the documentation, it looks like the only method to update an image alt attribute is via the HTML in the Content Editor. Is this the case or am missing something?
17 January 2009 at 9:59pm
Ya, in 2.2.x it handled it pretty badly with the extra garbage code.
In 2.3 it's all cleaned up and working like expected.
|Go to Top|