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

Cannot cancel editing an empty document when using the WYSIWYG editor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 B2, 1.0 B3, 1.0 B4, 1.0 B5
    • Fix Version/s: 1.0 B6
    • Labels:
      None
    • Similar issues:

      Description

      When editing a document with no content (either new, or containing only objects) using the WYSIWYG editor, pressing Cancel will display a message that the document content cannot be null.

      This is caused by a copy/paste error, the checkDocumentContent() function is called for cancel, too, although it should not.

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: