Skip to content

Commit

Permalink
Enter mode used in filter#applyTo defaults to editor.enterMode instea…
Browse files Browse the repository at this point in the history
…d of active enter mode.
  • Loading branch information
Reinmar committed Oct 23, 2013
1 parent ca537ae commit aca99a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@

var node, element, check,
toBeChecked = [],
enterTag = enterModeTags[ enterMode || ( this.editor ? this.editor.activeEnterMode : CKEDITOR.ENTER_P ) ];
enterTag = enterModeTags[ enterMode || ( this.editor ? this.editor.enterMode : CKEDITOR.ENTER_P ) ];

// Remove elements in reverse order - from leaves to root, to avoid conflicts.
while ( ( node = toBeRemoved.pop() ) ) {
Expand Down

0 comments on commit aca99a8

Please sign in to comment.