#14452 closed Bug (invalid)
CKEditor not support XHTML
| Reported by: | Mikhail Gavrilov | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 4.5.7 |
| Keywords: | Cc: |
Description
Demonstration: http://ckeditor.sy24.ru/
Error in console: ckeditor.js:762 Uncaught SyntaxError: Failed to set the 'innerHTML' property on 'Element': The provided markup is invalid XML, and therefore cannot be inserted into an XML document.
Change History (3)
comment:1 Changed 10 years ago by
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 Changed 10 years ago by
Please note that you shows the document describes HTML instead of XHTML. https://www.w3.org/TR/xhtml1/#C_4 Where I can download uncompressed CKEditor for debug this problem?
comment:3 Changed 10 years ago by
Please see this answer http://stackoverflow.com/a/2375736 and especially this part:
Because <
First of all the
<![CDATA[ ]]>should be written as//<![CDATA[ //]]>and second, script has to be written as<script src="ckeditor.js"></script>. Please see https://www.w3.org/TR/html-markup/script.html#script.