Opened 11 years ago

Closed 11 years ago

#2910 closed Bug (fixed)

V3 - Clipboard support

Reported by: Artur Formella Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: CKEditor 3.0
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Review+ Cc:

Description

Clipboard plugin with the following features: Cut, Copy, Paste, Paste as plain text.

Attachments (2)

2910.patch (18.2 KB) - added by Artur Formella 11 years ago.
2910_2.patch (19.1 KB) - added by Frederico Caldeira Knabben 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by Artur Formella

Attachment: 2910.patch added

comment:1 Changed 11 years ago by Artur Formella

Keywords: Review? added

To add custom function to 'Paste as Plain Text' one can only attach the 'paste' or 'pasteDialog' events.

I found that

 if ( cancel )
   event.preventDefault( true );

in keystrokes plugin doesn't work with CTRL+V in Opera. I don't know if it is a bug.

Changed 11 years ago by Frederico Caldeira Knabben

Attachment: 2910_2.patch added

comment:2 Changed 11 years ago by Frederico Caldeira Knabben

Owner: changed from Artur Formella to Frederico Caldeira Knabben
Status: newassigned

@arczi, I've attached a new patch to it. It's based on your code, but much simplified. It also fixes the keystrokes plugin limitation with Opera, using the same workaround we have on V2.

Please take a look at this patch and compare it with your solution. I'm getting the ticket ownership so it can be properly reviewed.

comment:3 Changed 11 years ago by Martin Kou

Keywords: Review+ added; Review? removed

comment:4 Changed 11 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

Fixed with [3085]. Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy