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
/
blockquote
/
plugin.js
diff --git
a/_source/plugins/blockquote/plugin.js
b/_source/plugins/blockquote/plugin.js
index
a25c1a1
..
a50038e
100644
(file)
--- a/
_source/plugins/blockquote/plugin.js
+++ b/
_source/plugins/blockquote/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
@@
-47,7
+47,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
{
\r
var state = editor.getCommand( 'blockquote' ).state,
\r
selection = editor.getSelection(),
\r
{
\r
var state = editor.getCommand( 'blockquote' ).state,
\r
selection = editor.getSelection(),
\r
- range = selection && selection.getRanges()[0];
\r
+ range = selection && selection.getRanges( true )[0];
\r
\r
if ( !range )
\r
return;
\r
\r
if ( !range )
\r
return;
\r
@@
-95,6
+95,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
var iterator = range.createIterator(),
\r
block;
\r
\r
var iterator = range.createIterator(),
\r
block;
\r
+ iterator.enlargeBr = editor.config.enterMode != CKEDITOR.ENTER_BR;
\r
\r
if ( state == CKEDITOR.TRISTATE_OFF )
\r
{
\r
\r
if ( state == CKEDITOR.TRISTATE_OFF )
\r
{
\r