IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
228 | 228 | |
229 | 229 | editor.removeListener( 'selectionChange', cancel ); |
230 | 230 | |
| 231 | // IE7: selection must go before removing paste bin. (#8691) |
| 232 | if ( CKEDITOR.env.ie7Compat ) |
| 233 | { |
| 234 | sel.selectBookmarks( bms ); |
| 235 | pastebin.remove(); |
| 236 | } |
| 237 | // Webkit: selection must go after removing paste bin. (#8921) |
| 238 | else |
| 239 | { |
| 240 | pastebin.remove(); |
| 241 | sel.selectBookmarks( bms ); |
| 242 | } |
| 243 | |
231 | 244 | // Grab the HTML contents. |
232 | 245 | // We need to look for a apple style wrapper on webkit it also adds |
233 | 246 | // a div wrapper if you copy/paste the body of the editor. |
… |
… |
|
238 | 251 | && ( bogusSpan.is && bogusSpan.hasClass( 'Apple-style-span' ) ) ? |
239 | 252 | bogusSpan : pastebin ); |
240 | 253 | |
241 | | // IE7: selection must go before removing paste. (#8691) |
242 | | sel.selectBookmarks( bms ); |
243 | | pastebin.remove(); |
244 | 254 | callback( pastebin[ 'get' + ( mode == 'text' ? 'Value' : 'Html' ) ]() ); |
245 | 255 | }, 0 ); |
246 | 256 | } |