Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Fragment Pages - Image alt
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> </p>
</lfr-editable>
Again, I'm missing something?
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> </p>
</lfr-editable>
Again, I'm missing something?