Ticket #4882: 4882.patch
File 4882.patch, 739 bytes (added by , 13 years ago) |
---|
-
_source/plugins/clipboard/plugin.js
170 170 // Create container to paste into 171 171 var pastebin = new CKEDITOR.dom.element( mode == 'text' ? 'textarea' : 'div', doc ); 172 172 pastebin.setAttribute( 'id', 'cke_pastebin' ); 173 // Safari requires a filler node inside the div to have the content pasted into it. (#4882) 174 CKEDITOR.env.webkit && pastebin.append( doc.createText( '\xa0' ) ); 173 175 doc.getBody().append( pastebin ); 174 176 175 177 // It's definitely a better user experience if we make the paste-bin pretty unnoticed