Code Index | File Index

Namespaces

Classes


Namespace CKEDITOR.dtd

Holds and object representation of the HTML DTD to be used by the editor in its internal operations.

Each element in the DTD is represented by a property in this object. Each property contains the list of elements that can be contained by the element. Text is represented by the "#" property.

Several special grouping properties are also available. Their names start with the "$" character.
Defined in: core/dtd.js.

Field Summary
Field Attributes Field Name and Description
<static>  
CKEDITOR.dtd.$block
List of block elements, like "p" or "div".
<static>  
CKEDITOR.dtd.$blockLimit
List of block limit elements.
<static>  
CKEDITOR.dtd.$body
list of elements that can be children at <body>.
<static>  
CKEDITOR.dtd.$captionBlock
List of block tags with each one a singleton element lives in the corresponding structure for description.
<static>  
CKEDITOR.dtd.$empty
List of empty (self-closing) elements, like "br" or "img".
<static>  
CKEDITOR.dtd.$inline
List of inline (<span> like) elements.
<static>  
CKEDITOR.dtd.$list
List of list root elements.
<static>  
CKEDITOR.dtd.$listItem
List of list item elements, like "li" or "dd".
<static>  
CKEDITOR.dtd.$nonEditable
Elements that accept text nodes, but are not possible to edit into the browser.
<static>  
CKEDITOR.dtd.$removeEmpty
List of elements that can be ignored if empty, like "b" or "span".
<static>  
CKEDITOR.dtd.$tabIndex
List of elements that have tabindex set to zero by default.
<static>  
CKEDITOR.dtd.$tableContent
List of elements used inside the "table" element, like "tbody" or "td".
Method Summary
Method Attributes Method Name and Description
<static>  
CKEDITOR.dtd.parentOf(tagName)
Return the DTD-valid parent tag names of the specified one.
Field Detail
<static> {Object} CKEDITOR.dtd.$block
Since: 3.0
List of block elements, like "p" or "div".

<static> {Object} CKEDITOR.dtd.$blockLimit
Since: 3.0
List of block limit elements.

<static> {Undefined} CKEDITOR.dtd.$body
Since: 3.0
list of elements that can be children at <body>.
NO EXAMPLE AVAILABLE

<static> {Undefined} CKEDITOR.dtd.$captionBlock
Since: 3.0
List of block tags with each one a singleton element lives in the corresponding structure for description.
NO EXAMPLE AVAILABLE

<static> {Object} CKEDITOR.dtd.$empty
Since: 3.0
List of empty (self-closing) elements, like "br" or "img".

<static> {Undefined} CKEDITOR.dtd.$inline
Since: 3.0
List of inline (<span> like) elements.
NO EXAMPLE AVAILABLE

<static> {Object} CKEDITOR.dtd.$list
Since: 3.0
List of list root elements.

<static> {Object} CKEDITOR.dtd.$listItem
Since: 3.0
List of list item elements, like "li" or "dd".

<static> {Object} CKEDITOR.dtd.$nonEditable
Since: 3.0
Elements that accept text nodes, but are not possible to edit into the browser.

<static> {Object} CKEDITOR.dtd.$removeEmpty
Since: 3.0
List of elements that can be ignored if empty, like "b" or "span".

<static> {Object} CKEDITOR.dtd.$tabIndex
Since: 3.0
List of elements that have tabindex set to zero by default.

<static> {Object} CKEDITOR.dtd.$tableContent
Since: 3.0
List of elements used inside the "table" element, like "tbody" or "td".
Method Detail
<static> {Undefined} CKEDITOR.dtd.parentOf(tagName)
Since: 3.0
Return the DTD-valid parent tag names of the specified one.
Defined in: plugins/pastefromword/filter/default.js.
NO EXAMPLE AVAILABLE
Parameters:
{Undefined} tagName

Copyright © 2003-2010, CKSource - Frederico Knabben. All rights reserved.