Skip to content

Commit

Permalink
Merge branch 't/9301c'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Oct 16, 2012
2 parents 4cd29d2 + cd05ac8 commit ed293e1
Show file tree
Hide file tree
Showing 3 changed files with 228 additions and 168 deletions.
4 changes: 3 additions & 1 deletion core/dom/elementpath.js
Expand Up @@ -179,7 +179,9 @@ CKEDITOR.dom.elementPath.prototype = {

// Check for block context.
if ( tag in CKEDITOR.dtd.$block ) {
holder = ( this.root.equals( this.block ) && this.block ) || this.blockLimit;
// Indeterminate elements which are not subjected to be splitted or surrounded must be checked first.
var inter = this.contains( CKEDITOR.dtd.$intermediate );
holder = inter || ( this.root.equals( this.block ) && this.block ) || this.blockLimit;
return !!holder.getDtd()[ tag ];
}

Expand Down

0 comments on commit ed293e1

Please sign in to comment.