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

Backport of LPS-116201 - Line-height property causes truncated text

    Details

      Description

      Reproduction steps:

      1. Set up 7.2.x by applying the following property to portal-ext in order to enable CKEditor:
      editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor
      1. Start and and log in as admin. 
      2. Create a new Web Content
      3. Type or paste multiple lines of text (at least 3-5)
      4. Select multiple lines of text with cursor

      Expectation:

      The text is actually selected and all the text are still fully visible

      Actual behavior:

      The bottom of the text is truncated (see screenshot) of each line, except the last one in selection.
      If the page is zoomed in the browser (at about 150%), the behavior is more visible - it seems the blue selection highlight is slightly covering the line of text above.

      Reproduced on 7.2.x.

      Not reproducible on master.

      Issue is related to story ticket LPS-116201 - line-height property causes the issue and removing only this property fixes it.

       

       

        Attachments

          Activity

            People

            Assignee:
            pawel.grabowski Pawel Grabowski (Inactive)
            Reporter:
            orsolya.dekany Orsolya Dekany
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Orsolya Dekany
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              42 weeks, 1 day ago

                Packages

                Version Package
                7.2.10 DXP FP9
                7.2.X