File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 651
651
652
652
pastebin . setAttribute ( 'id' , 'cke_pastebin' ) ;
653
653
654
+ // Append bogus to prevent Opera from doing this. (#9522)
655
+ if ( CKEDITOR . env . opera )
656
+ pastebin . appendBogus ( ) ;
657
+
654
658
var containerOffset = 0 ,
655
659
win = doc . getWindow ( ) ;
656
660
657
661
// Seems to be the only way to avoid page scroll in Fx 3.x.
658
- if ( ff3x )
659
- {
662
+ if ( ff3x ) {
660
663
pastebin . insertAfter ( bms [ 0 ] . startNode ) ;
661
664
pastebin . setStyle ( 'display' , 'inline' ) ;
662
- }
663
- else
664
- {
665
+ } else {
665
666
if ( CKEDITOR . env . webkit ) {
666
667
// It's better to paste close to the real paste destination, so inherited styles
667
668
// (which Webkits will try to compensate by styling span) differs less from the destination's one.
You can’t perform that action at this time.
0 commit comments