Opened 17 years ago

Closed 15 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:


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"
	"">' ;

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:2 Changed 16 years ago by Artur Formella

Resolution: duplicate
Status: newclosed

DUP of #1659

comment:3 Changed 16 years ago by Frederico Caldeira Knabben

Resolution: duplicate
Status: closedreopened

This is not a DUP of #1659. It is only related to it.

comment:4 Changed 16 years ago by Frederico Caldeira Knabben

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 Alfonso Martínez de Lizarrondo

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 Frederico Caldeira Knabben

Keywords: Confirmed added; Pending removed
Milestone: CKEditor 3.0

comment:7 Changed 15 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: reopenedclosed

That's the way we have it for V3 now.

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