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

Editor element conflict error in browser's console when opening the annotation box or a comments box

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • 1.58
    • 1.56
    • None
    • None
    • Windows 11 Pro 64 bit, Chrome 96, using a local instance XWiki 13.10.1 on MariaDB 10.6, Tomcat 9.0.56
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Go to a page with text content (e.g. Sandbox)
      2. Select a word
      3. Press CTRL+M to open the Annotation box
      4. Observe the browser's console

      EXPECTED RESULTS

      No errors are displayed.

      ACTUAL RESULTS

      In browser's console, there is an error related to CKEditor:

      [CKEDITOR] Error code: editor-element-conflict. {editorName: 'comment'}
      [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#editor-element-conflict
      TypeError: Cannot read properties of null (reading 'once')
          at e (eval at globalEval (jquery.js:343), <anonymous>:28:236)
          at HTMLTextAreaElement.eval (eval at globalEval (jquery.js:343), <anonymous>:28:142)
          at Function.each (jquery.js:365)
          at n.fn.init.each (jquery.js:137)
          at c (eval at globalEval (jquery.js:343), <anonymous>:28:122)
          at Object.eval (eval at globalEval (jquery.js:343), <anonymous>:28:406)
          at i (jquery.js:3187)
          at Object.add [as done] (jquery.js:3246)
          at eval (eval at globalEval (jquery.js:343), <anonymous>:28:389)
          at Object.execCb (require.min.js?r=1:5)

      The same issue happens if the Comment button is clicked to open the comment box at the bottom of a page.

      The issue reproduced also on XWiki 12.10.10, 13.4.5 and 13.10. Tested also with CKEditor 1.57 in XWiki 13.10.1.

       

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: