Ticket #7977: 7977.patch
File 7977.patch, 1.2 KB (added by , 12 years ago) |
---|
-
_source/plugins/enterkey/plugin.js
66 66 return; 67 67 } 68 68 } 69 // Don't split caption block , like <caption> and <legend>. (#7944)70 else if ( block && !CKEDITOR.dtd[ block.getName() ][ 'p'] )69 // Don't split caption blocks. (#7944) 70 else if ( block && CKEDITOR.dtd.$captionBlock[ block.getName() ] ) 71 71 { 72 72 enterBr( editor, mode, range, forceMode ); 73 73 return; -
_source/core/dtd.js
122 122 $nonEditable : {applet:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,script:1,textarea:1,param:1,audio:1,video:1}, 123 123 124 124 /** 125 * List of block tags with each one a singleton element lives in the corresponding structure for description. 126 */ 127 $captionBlock : { caption:1, legend:1 }, 128 129 /** 125 130 * List of elements that can be ignored if empty, like "b" or "span". 126 131 * @type Object 127 132 * @example