Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.5.3
[ckeditor.git]
/
_source
/
plugins
/
justify
/
plugin.js
diff --git
a/_source/plugins/justify/plugin.js
b/_source/plugins/justify/plugin.js
index
2de9b0b
..
695f910
100644
(file)
--- a/
_source/plugins/justify/plugin.js
+++ b/
_source/plugins/justify/plugin.js
@@
-1,5
+1,5
@@
/*
\r
/*
\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
@@
-159,7
+159,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
iterator = ranges[ i ].createIterator();
\r
iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
\r
\r
iterator = ranges[ i ].createIterator();
\r
iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
\r
\r
- while ( ( block = iterator.getNextParagraph() ) )
\r
+ while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) )
\r
{
\r
block.removeAttribute( 'align' );
\r
block.removeStyle( 'text-align' );
\r
{
\r
block.removeAttribute( 'align' );
\r
block.removeStyle( 'text-align' );
\r