JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4b
[ckeditor.git] / _source / plugins / blockquote / plugin.js
index 4015bee..128e267 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\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
-                               range = selection && selection.getRanges()[0];\r
+                               range = selection && selection.getRanges( true )[0];\r
 \r
                        if ( !range )\r
                                return;\r