Skip to content

Commit

Permalink
Merge branch 't/9754'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Dec 13, 2012
2 parents cac827d + 87cab69 commit 76f93c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/clipboard/plugin.js
Expand Up @@ -687,6 +687,8 @@
// It's better to paste close to the real paste destination, so inherited styles
// (which Webkits will try to compensate by styling span) differs less from the destination's one.
editable.append( pastebin );
// Style pastebin like .cke_editable, to minimize differences between origin and destination. (#9754)
pastebin.addClass( 'cke_editable' );
// Compensate position of offsetParent.
containerOffset = ( editable.is( 'body' ) ? editable : CKEDITOR.dom.element.get( pastebin.$.offsetParent ) ).getDocumentPosition().y;
} else {
Expand Down

0 comments on commit 76f93c9

Please sign in to comment.