Opened 17 years ago
Closed 16 years ago
#960 closed Task (fixed)
Change default doctype in the config so it triggers standards mode
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.0 |
Component: | General | Version: | |
Keywords: | Confirmed | Cc: |
Description
I think that it would be better if by default the content in the editor is rendered using standards mode by setting in the fckconfig.js
FCKConfig.DocType = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">' ;
and removing the td selectors in fck_editorarea.css
Of course anyone can do these changes in their setup, but I think that setting this ones as defaults might help to uncover some problems related to standards rendering and in the end the behavior of the browsers is much more compatible by using standards mode instead of quirks.
And if anyone uses just the online demo it can get standards rendering instead of quirks.
Change History (7)
comment:1 Changed 17 years ago by
comment:3 Changed 16 years ago by
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
This is not a DUP of #1659. It is only related to it.
comment:4 Changed 16 years ago by
Keywords: | Pending added |
---|
Shouldn't we use the XHTML 1.0 Transitional doctype instead? That's the way we are doing now in the CKEditor prototype.
comment:5 Changed 16 years ago by
I don't mind if it is HTML or XHTML as long as by default a doctype that triggers standards mode is used and so it gets the maximum testing and we can forget about the differences in quirks mode.
comment:6 Changed 16 years ago by
Keywords: | Confirmed added; Pending removed |
---|---|
Milestone: | → CKEditor 3.0 |
comment:7 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
That's the way we have it for V3 now.
See #1659 http://dev.fckeditor.net/ticket/1659 first.