Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69823

When adding an image on a blog post, if you set the alt attribute it is lost

    Details

      Description

      Steps to reproduce:

      1. Create a blog post with an image
      2. Add the 'alt' attribute, with value "image"
      3. Change view: from Text view to Code view, the alt attribute is present on the HTML code
      4. Change view: from Code view to Text view.

      Expected behaviour: the alt element is present on the AlloyEditor action button AND the HTML code
      Actual behaviour: the alt element is NOT present on the AlloyEditor action button NOR the HTML code

      Besides, if you add the alt attribute, not changing the View, just publishing the blog post, if you try to modify the blog post again, then the alt attribute is lost, in both places (action button in AlloyEditor and HTML code)

        Attachments

          Activity

            People

            • Assignee:
              sylvia.luan Sylvia Luan
              Reporter:
              manuel.delapenya Manuel de la Peña (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 26 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP12
                7.0.0 DXP SP2
                7.0.3 CE GA4
                7.1.X
                Master