X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fdtd.js;h=45e801ccba3a607b78715c8ea10d8cb08b091137;hb=7cd80714081a8ffdf4a1a8d2c72f120ed5ef3d6d;hp=d0d6e9eeccedb9a7a2f6fc7f5bb2e51f3144f033;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_source/core/dtd.js b/_source/core/dtd.js index d0d6e9e..45e801c 100644 --- a/_source/core/dtd.js +++ b/_source/core/dtd.js @@ -66,6 +66,8 @@ CKEDITOR.dtd = (function() */ $block : block, + $inline : L, // Just like span. + $body : X({script:1}, block), $cdata : {script:1,style:1}, @@ -85,12 +87,19 @@ CKEDITOR.dtd = (function() $listItem : {dd:1,dt:1,li:1}, /** + * List of list root elements. + * @type Object + * @example + */ + $list: { ul:1,ol:1,dl:1}, + + /** * Elements that accept text nodes, but are not possible to edit into * the browser. * @type Object * @example */ - $nonEditable : {applet:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,script:1,textarea:1}, + $nonEditable : {applet:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,script:1,textarea:1,param:1}, /** * List of elements that can be ignored if empty, like "b" or "span". @@ -137,7 +146,7 @@ CKEDITOR.dtd = (function() form : X(A,D,E,I), select : {optgroup:1,option:1}, font : L, - ins : P, + ins : L, menu : Q, abbr : L, label : L, @@ -172,7 +181,7 @@ CKEDITOR.dtd = (function() map : X({area:1,form:1,p:1},A,F,E), applet : O, dl : {dt:1,dd:1}, - del : P, + del : L, isindex : {}, fieldset : X({legend:1},K), thead : M,