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

Cannot edit an annotation with CKEditor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.6
    • Fix Version/s: 12.6.1, 12.7-rc-1
    • Component/s: Annotations
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, Firefox 79, using a local instance of XWiki 12.6 on Oracle 19c, Tomcat 9.0.37
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: