Ticket #2102 (closed Bug: fixed)
FCKConfig.DocType does not work in 2.6
| Reported by: | martinkou | Owned by: | martinkou |
|---|---|---|---|
| Priority: | High | Milestone: | FCKeditor 2.6.1 |
| Component: | General | Version: | SVN (FCKeditor) - Retired |
| Keywords: | Confirmed Review+ | Cc: |
Description
Reproduction procedure:
- Set FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' ; in fckconfig.js.
- Open sample01.html.
- Examine the compatibility mode in the editor frame by typing "javascript: alert(frames[0].frames[0].document.compatMode);" - it is "BackCompat" which means Quirks mode. The editing frame should be running in standards compliance mode with DocType set to XHTML Transistional.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

