Opened 7 years ago

Last modified 7 years ago

#14892 confirmed Bug

[Edge Only] : CkEditor Bold/Italic/underline does not work. If we do not give <!DOCTYPE HTML> in the html page.

Reported by: Rohit Kumar Owned by:
Priority: Normal Milestone:
Component: File Browser Version: 4.5.2
Keywords: Edge Cc:


Steps to reproduce

HTML Source Code : <!DOCTYPE HTML> <html>


<script src=""></script> <script src=""></script> <script src=""></script>

<script> $(document).ready(function() {


}); </script> </head> <body> <textarea id="testCk"></textarea> </body> </html>

This works.

Remove DocType from html page. It does not work in edge browser only

Tried using Doctype config property. Still does not work.

Expected result

It should work in Edge even without Doctype declaration.

Actual result

It does not

Other details (Edge, Win 10,Full 4.5.11)

Change History (2)

comment:1 Changed 7 years ago by Jakub Ś

Keywords: Browser funtionality removed
Status: newconfirmed

Problem can be reproduced in Edge only starting from version 4.5.2 (when support for Edge was introduced).

Error is thrown in element.js, Line:626 and the message is Unable to get property 'specified' of undefined or null reference. It is thrown in part of code checking Quirks mode: this.$.attributes.getNamedItem("contentEditable").specified

When you don't specify doctype, browser should go into quirks mode. According to documentation the code used for quirks mode is correct -, On the other hand Edge doesn't support modes any more - so perhaps standard check should be performed here instead?

comment:2 Changed 7 years ago by Jakub Ś

#14908 was marked as duplicate.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy