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

Preview web content does not work with CKEditor

    Details

      Description

      Reproduction Steps:

      1. Set up a latest master and add to the portal-ext.properties the following property then start it:

      editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor

      2. Go to Content --> Web Content and create a basic web content.

      3. Click on the 3 dots beside the content and select "Edit"

      4. Change the content and leave the Summary empty then click on "Preview" from the upper right 3 dots.

      Actual Behavior: Error appears: web content is temporarily unavailable. NullPointerException in the logs.

      Expected Behavior: A pop up window should appear with the option to save the new content and after saving it, the preview of the edited content appears.

      7.1.x @ cc834f237de2d6e0b223e973f5d3f35349eb5c37

      Master @ bcca1cda3713d8a75b7bfb0ddd7503d9efcdab5b

      Note: On 7.1.x there's no error. However, the ckeditor field seems to be insensitive to changes: preview shows the old version of the text, without asking whether to save it as a draft. Works correctly when e.g. Summary is changed.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  29 weeks, 6 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP12
                  7.1.X