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:
- Use Chrome or Firefox
- Install Grammarly extensions
- Open an XWiki 12.x + instance
- Create a new page and edit it in wiki mode
- In Wiki mode paste this content https://up1.xwikisas.com/#PVa0mCGtAl7yDn3R2imO_A
- 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)