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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: