JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.1
[ckeditor.git] / _source / plugins / sourcearea / plugin.js
index 234bbf0..ad3b4ea 100644 (file)
@@ -1,5 +1,5 @@
 /*\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
@@ -72,17 +72,6 @@ CKEDITOR.plugins.add( 'sourcearea',
                                                                win.on( 'resize', onResize );\r
                                                                setTimeout( onResize, 0 );\r
                                                        }\r
-                                                       // As we prevent click to put focus on editor container,\r
-                                                       // while 'mousedown' inside <textarea> is also captured,\r
-                                                       // but we must stop the even propagation, otherwise\r
-                                                       // it's not possible to place the caret inside of it (non IE and IE9).\r
-                                                       if ( document.addEventListener )\r
-                                                       {\r
-                                                               textarea.on( 'mousedown', function( evt )\r
-                                                                       {\r
-                                                                               evt.data.stopPropagation();\r
-                                                                       } );\r
-                                                       }\r
 \r
                                                        // Reset the holder element and append the\r
                                                        // <textarea> to it.\r