Fragment Pages - Image alt

thumbnail
Juan Miguel Imaz, modified 6 Years ago. New Member Posts: 7 Join Date: 4/30/14 Recent Posts
This cuestion is for Liferay 7.1

It's possible to make a image fragment's "alt " editable.

<lfr-editable id="imageID" type="image">
     <img src="/documents/xxxxx/yyyyy/lorem-ipsum-dolor-sit-amet/a568757f-d3f8-4d85-d2ab-557b4248cbeb" alt="EDIT">
</lfr-editable>

When I edit the fragment I can only select another image.
I'm missing something?


As an alternative solution I can use a "rich-text" fragment where a image can be placed. But with the default editor it is not possible to select the image "alt" attribute.

<lfr-editable id="workaround" type="rich-text">
  <p>&nbsp;</p>
</lfr-editable>

Again, I'm missing something?