Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17624

Cannot edit an annotation with CKEditor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 12.6.1, 12.7-rc-1
    • 12.6
    • Annotations
    • Windows 10 Pro 64 bit, Firefox 79, using a local instance of XWiki 12.6 on Oracle 19c, Tomcat 9.0.37
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Go to a page with some text content
      2. Select a word
      3. Press CTRL+M
      4. Insert some text
      5. Click 'Add annotation'
      6. Click on the small yellow icon of the added annotation
      7. Click the pencil - 'Edit annotation'

      EXPECTED RESULTS

      The annotation is opened in CKEditor edit mode.

      ACTUAL RESULTS

      When click 'Edit annotation', CKEditor is not loaded. Instead, some HTML code is displayed (partially from what it seems) on the annotation box (see Cannot_edit_annotation_CKEditor.png):

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

      If clicked on the annotation box, the HTML code is replaced by a spinning wheel (see Cannot_edit_annotation_CKEditor2)

      If clicked 'Update', the full HTML code is saved as a comment.

      Attachments

        1. After_click_Update.png
          97 kB
          Ilie Andriuta
        2. Cannot_edit_annotation_CKEditor.png
          48 kB
          Ilie Andriuta
        3. Cannot_edit_annotation_CKEditor2.png
          42 kB
          Ilie Andriuta

        Activity

          People

            surli Simon Urli
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: