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

Pencil button not functional in CKeditor when replacing an image through Image Properties screen

    Details

      Description

      Reproduction steps:

      1. Add the following property to the portal-ext.properties:
        editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor
        
      2. Start the server, login as Admin, go to left side Product Navigation Menu > Liferay DXP > Content > Web Content > bottom-right plus icon > Basic Web Content
      3. Click to place the cursor in the text field, then click on the image icon in the editor's toolbar > select an image > add
      4. A image is added to webcontent
      5. Double click on the added image: Image Properties will open
      6. Click on Browse server button next to the URL > Select the same image: a pencil icon will appear on the bottom-right corner. Click on the icon:
        • Expected: Edit options are opened
        • Actual behavior: Nothing happens

      Important: Due to bug LPS-85536, in step 3, in case of having the error Uncaught TypeError: editor.isSelectionEmpty is not a function , in order to bypass this error, you may add an image in the Documents and Media, get its URL and then include it in the source of the web content editor, like this:

      <img src="/documents/20142/0/myimage.png/220adf63-0850-8268-5c99-14fe49132ea1?t=1538556376957" />
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yvonne.han Yvonne Han
                Reporter:
                jorge.diaz Jorge Diaz
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 33 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP60
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.10 DXP FP3
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master