IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
345 | 345 | // up the selection before blur. |
346 | 346 | CKEDITOR.env.ie && doc.getWindow().on( 'blur', function() |
347 | 347 | { |
348 | | // Error proof when the editor is not visible. (#6375) |
349 | | try{ doc.$.selection.empty(); } catch ( er){} |
| 348 | // Make sure it's not happening for internal controls. (#8843) |
| 349 | var active = CKEDITOR.dom.element.get( doc.$.activeElement ); |
| 350 | if ( active.is( 'body' ) ) |
| 351 | { |
| 352 | // Error proof when the editor is not visible. (#6375) |
| 353 | try{ doc.$.selection.empty(); } catch ( er){} |
| 354 | } |
350 | 355 | }); |
351 | 356 | |
352 | 357 | // Listening on document element ensures that |