Uploaded image for project: '{RETIRED} CKEditor Integration'
  1. {RETIRED} CKEditor Integration
  2. CKEDITOR-493

Paragraph gets duplicated when trying to erase content with Grammarly enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • XWiki 12.10.8, 13.10.7, 14.4.3, debian and cloud deployments
      Chrome 106.0.5249.61
      MacOS 12.5.1
    • Unknown

    Description

      (i)This issue has been observed on XWiki instances since the 12.x cycle by users using Mac, Chrome and the Grammarly extension.

      (i)The issue is usually reproduced when a page remains in edit mode for a long time and when a table is present. However, I was not able to pinpoint the exact element that will certainly trigger the bug. 

      (i)I was not able to reproduce this issue alone on the ck editor 4 https://ckeditor.com/docs/ckeditor4/latest/examples/standardpreset.html.  

      Method to reproduce the bug: 

      1. Use Chrome or Firefox
      2. Install Grammarly extensions
      3. Open an XWiki 12.x + instance
      4. Create a new page and edit it in wiki mode
      5. In Wiki mode paste this content https://up1.xwikisas.com/#PVa0mCGtAl7yDn3R2imO_A 
      6. Select a word in the last paragraph, erase it, then hit backspace a few more times. After about 5 to 10 backspaces you should trigger the bug.

      Result: The first part of the paragraph until the spot where you started erasing gets duplicated. 

      Screen recording: https://up1.xwikisas.com/#HkT7p5idt2dlqEIjy61qbQ 

      When reproducing the bug on the XWikiSAS intranet I got the following errors in the browser console:

      Grammarly-check.js:2 Uncaught TypeError: Cannot read properties of null (reading 'dataset') at so (Grammarly-check.js:2:141788) at oo.updateState (Grammarly-check.js:2:143077) at t._next (Grammarly-check.js:2:144044) at t.__tryOrUnsub (Grammarly-check.js:2:32009) at t.next (Grammarly-check.js:2:31174) at t._next (Grammarly-check.js:2:30271) at t.next (Grammarly-check.js:2:29942) at t._tryResultSelector (Grammarly-check.js:2:51351) at t.notifyNext (Grammarly-check.js:2:51141) at t._next (Grammarly-check.js:2:48263)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            snazare Stefana Nazare
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: