- // 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