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

Remain on the previous editing mode when the HTML-source conversion fails

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.2
    • 1.1
    • None
    • None

    Description

      When you switch from WYSIWYG to Source, remain on WYSIWYG if the conversion fails. Same for the reverse operation. Also show a notification message to explain the problem.

      You can reproduce the behaviour like this:

      • Edit Sandbox.WebHome
      • Open the browser developer tools (right click outside the editing area and choose Inspect Element)
      • Using the Inspector (top left corner in Firefox), select (click on) the first anchor in the editing area ("XWiki Syntax"). The corresponding anchor (a) element should get selected and you can see the HTML code
      • Double click on the "false|-|doc|-|XWiki.XWikiSyntax" (the value of the "data-reference" attribute) and replace it with something else (e.g. "foo"). Press Enter key to update the HTML code.
      • Switch to source

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: