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

Pasting content from external sources retains styling

    Details

      Description

      Regression of https://issues.liferay.com/browse/LPS-51733 with DE-46 https://issues.liferay.com/browse/LPS-78904 where we've changed the behavior.

      Steps to reproduce
      1. Create a new web content
      2. View this Google Document https://docs.google.com/document/d/1b2gJFN4i53s-1MPeMVUfFsqzSG4dBglIc-5dFX2YG_k/edit?usp=sharing and copy the text
      3. Paste into the Liferay editor
      4. Switch to Liferay editor to view in HTML mode

      Results of Testing
      Expected Results: Content is pasted without the Google Docs styling
      Actual Results: Content is pasted with all styling still embedded in text (nofilter.png)

      Master
      Reproduced - 1d7d57fa1326f8dfc328a37907c29df7b7b6c181

      Branch
      Reproduced - 7ae1301500db6a883ee9ce2eb23b261abc126688

        Attachments

        1. contentfilter.png
          contentfilter.png
          43 kB
        2. nofilter.png
          nofilter.png
          40 kB
        3. pastefilter.png
          pastefilter.png
          22 kB

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              spencer.woo Spencer Woo
              Participants of an Issue:
              Recent user:
              Fortunato Maldonado
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

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