Description
Existing HTML fields have all content inside <html> and <body> elements (an old Xinha leftover). CKEditor by default strips these elements whenever saving the content. As a result, editing "old" content (created with Xinha, inside <html> and <body> elements) will be marked as "changed" even without making any changes.
Steps to reproduce:
1. in GoGreen, open any document
2. click the 'Edit' button to edit the document
3. click the red cross in the tab to discard the document
Expected: the document is closed again. The HTML contents in the draft variant is identical to the HTML contents in the published variant (check this in the console).
Actual: a dialog pops up that says "Document has been modified. Save changes?". After clicking 'discard', the HTML in the draft variant is already different from the HTML in the published variant (e.g. it no longer contains <html> and <body>, and the markup layout is changed.
Attachments
Issue Links
- discovered while testing
-
CMS-7986 Upgrade CKEditor to 4.4.1
- Closed