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

Using ckeditor in conjunction with alloyeditor mixes events and updates images in the wrong editor

    Details

      Description

      Steps to reproduce:

       

      1. set editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor in portal-ext.properties
      2. Start portal, and go to Web Content > Add basic web content
      3. Ckeditor is displayed, and there is a button to add images. Click it, and Item Selector will be displayed.
      4. Choose any image. The image should be displayed in the ckeditor.
      5. Double click in the recently added image. A properties pop-up is displayed.
      6. Click 'Browse server'. Item selector will be displayed again.
      7. Choose any other image

       Expected result: the image is replaced by the new one

       Actual result:

      • in 7.1, the newly selected image is added to the descrption field, while maintaining the old one in the ckeditor. 
      • in master, nothing happens, but the focused is moved to the description field

      Regards

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              alberto.montero Alberto Montero
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 31 weeks, 2 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP12
                  7.1.X
                  Master