JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.2
[ckeditor.git] / _source / core / dtd.js
index d5af5bf..f09b7db 100644 (file)
@@ -10,16 +10,15 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
  */\r
 \r
 /**\r
- * Holds and object representation of the HTML DTD to be used by the editor in\r
- * its internal operations.\r
- *\r
- * Each element in the DTD is represented by a\r
- * property in this object. Each property contains the list of elements that\r
- * can be contained by the element. Text is represented by the "#" property.\r
- *\r
+ * @namespace Holds and object representation of the HTML DTD to be used by the\r
+ * editor in its internal operations.<br />\r
+ * <br />\r
+ * Each element in the DTD is represented by a property in this object. Each\r
+ * property contains the list of elements that can be contained by the element.\r
+ * Text is represented by the "#" property.<br />\r
+ * <br />\r
  * Several special grouping properties are also available. Their names start\r
  * with the "$" character.\r
- * @namespace\r
  * @example\r
  * // Check if "div" can be contained in a "p" element.\r
  * alert( !!CKEDITOR.dtd[ 'p' ][ 'div' ] );  "false"\r
@@ -81,8 +80,14 @@ CKEDITOR.dtd = (function()
                 */\r
                $blockLimit : { body:1,div:1,td:1,th:1,caption:1,form:1 },\r
 \r
+               /**\r
+                * List of inline (&lt;span&gt; like) elements.\r
+                */\r
                $inline : L,    // Just like span.\r
 \r
+               /**\r
+                * list of elements that can be children at &lt;body&gt;.\r
+                */\r
                $body : X({script:1,style:1}, block),\r
 \r
                $cdata : {script:1,style:1},\r