PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-42191

Caret jumps out of textarea on resize in CKEditor's Source mode (IE9)

    Details

    • Story Points:
      4
    • Fix Priority:
      3
    • Similar Issues:
      Show 5 results 

      Description

      Text cursor appears out of the Source editor's textarea on resize events. This seems to be an IE9-related issue.

      Reproduction steps:

      1. Start the Portal, and navigate to it in IE9
      2. Create new Web Content
      3. Edit the above Web Content and start adding a translation
      4. Switch to Source mode, click in textarea, and either collapse the CKEditor toolbar, or resize the floating panel by grabbing its right edge (repeat this 2-3 times)
      5. Caret will pop out of the textarea and it starts blinking underneath

      This issue is related to an IE specific workaround in CKEditor. Textarea is hidden for a moment to ensure that it fill its holder element entirely. However, invisible textarea hands focus over to the holder and never gets back.

        Issue Links

          Activity

          Hide
          József Illés (Inactive) added a comment -

          I sent the following pull request: https://github.com/HSchueler/ckeditor-ee/pull/4

          Show
          József Illés (Inactive) added a comment - I sent the following pull request: https://github.com/HSchueler/ckeditor-ee/pull/4
          Show
          Byrån Zaugg added a comment - See comment: https://github.com/jozsefilles/ckeditor-ee/commit/56dd1d5f28d75d2769f5f57488780df7506729cb#plugins-sourcearea-plugin-js-P4
          Hide
          József Illés (Inactive) added a comment - - edited

          I've just updated the variable names in the fix. Now, it works in IE 9 (also tested FF and Chrome).

          Show
          József Illés (Inactive) added a comment - - edited I've just updated the variable names in the fix. Now, it works in IE 9 (also tested FF and Chrome).
          Hide
          Linda Sui added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0.42 + MySQL 5.5.21. Internet Explorer 9. Portal master GIT ID: 7d7da0792f72b0ca0c254282e454d7c6354c50a9.

          Text cursor displays out of the Source editor's textarea on resize, when I input something the content is out of the textarea.

          Fixed on:
          Tomcat 7.0.42 + MySQL 5.5.21. Internet Explorer 9. Portal master GIT ID: 8b63a29205491ba1924dbb058ce9a6f1bcfa30ad.

          Text cursor displays in the Source editor's textarea on resize.

          Show
          Linda Sui added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0.42 + MySQL 5.5.21. Internet Explorer 9. Portal master GIT ID: 7d7da0792f72b0ca0c254282e454d7c6354c50a9. Text cursor displays out of the Source editor's textarea on resize, when I input something the content is out of the textarea. Fixed on: Tomcat 7.0.42 + MySQL 5.5.21. Internet Explorer 9. Portal master GIT ID: 8b63a29205491ba1924dbb058ce9a6f1bcfa30ad. Text cursor displays in the Source editor's textarea on resize.
          Hide
          József Illés (Inactive) added a comment -

          As Byran suggested, I filed a CKEditor ticket at https://dev.ckeditor.com/ticket/11839.

          Show
          József Illés (Inactive) added a comment - As Byran suggested, I filed a CKEditor ticket at https://dev.ckeditor.com/ticket/11839 .
          Hide
          Byrån Zaugg added a comment -
          Show
          Byrån Zaugg added a comment - Commit added to CKEditor source: http://dev.ckeditor.com/ticket/11839#comment:5 https://github.com/ckeditor/ckeditor-dev/commit/0e78956 4.4.1 will be released 05/13/14

            People

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

              Dates

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

                Development

                  Structure Helper Panel