Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 6555)
+++ /CKEditor/trunk/CHANGES.html (revision 6556)
@@ -72,4 +72,5 @@
#7018 : [IE] Combo boxes didn't have border around them.
#7073 : Image dialog now does not allow zero height and width to be entered.
+ #7316 : [FF] Click on paste button incorrectly break the line at cursor.
Updated the following language files:
- #7124 : Czech;
Index: /CKEditor/trunk/_source/plugins/clipboard/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/clipboard/plugin.js (revision 6555)
+++ /CKEditor/trunk/_source/plugins/clipboard/plugin.js (revision 6556)
@@ -159,4 +159,6 @@
};
+ function cancel( evt ) { evt.cancel(); }
+
// Allow to peek clipboard content by redirecting the
// pasting content into a temporary bin and grab the content of it.
@@ -209,4 +211,6 @@
var bms = sel.createBookmarks();
+ this.on( 'selectionChange', cancel, null, null, 0 );
+
// Turn off design mode temporarily before give focus to the paste bin.
if ( mode == 'text' )
@@ -235,4 +239,5 @@
mode == 'text' && CKEDITOR.env.gecko && editor.focusGrabber.focus();
pastebin.remove();
+ editor.removeListener( 'selectionChange', cancel );
// Grab the HTML contents.