Skip to content
Permalink
Browse files

Merge branch 't/9754'

  • Loading branch information...
Reinmar committed Dec 13, 2012
2 parents cac827d + 87cab69 commit 76f93c950ebac2a226890a1a0be694af990dbe97
Showing with 2 additions and 0 deletions.
  1. +2 −0 plugins/clipboard/plugin.js
@@ -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 {

0 comments on commit 76f93c9

Please sign in to comment.
You can’t perform that action at this time.