#3872: Pasted text takes on style at cursor location
----------------------+-----------------------------------------------------
  Reporter:  damo     |       Owner:              
      Type:  Bug      |      Status:  closed      
  Priority:  Normal   |   Milestone:  CKEditor 3.0
 Component:  General  |     Version:              
Resolution:  wontfix  |    Keywords:  IBM CantFix 
----------------------+-----------------------------------------------------
Changes (by fredck):

  * keywords:  IBM WorksForMe => IBM CantFix
  * status:  new => closed
  * resolution:  fixed => wontfix


Old description:

> To reproduce: [[BR]]
> 1. Open nightly Ajax sample [[BR]]
> 2. Type some text on a few lines [[BR]]
> 3. Apply color to the last line of text and hit ENTER [[BR]]
> 4. Select the text in the first line of the document [[BR]]
> 5. Paste the selected text at the end of the document [[BR]]
>
> Result: The pasted text takes on the color change instead of keeping its
> own style.
>
> This applies to other styles also, e.g. bold/italic etc.

New description:

 To reproduce: [[BR]]
 1. Open nightly Ajax sample [[BR]]
 2. Type some text on a few lines [[BR]]
 3. Apply color to the last line of text and hit ENTER [[BR]]
 4. Select the text in the first line of the document [[BR]]
 5. Paste the selected text at the end of the document [[BR]]

 Result: The pasted text takes on the color change instead of keeping its
 own style.

 This applies to other styles also, e.g. bold/italic etc.

--

Comment:

 The problem here is that clipboard operations are totally out of the
 editor control. It's controlled by both the source and the target
 applications (in this case the browser). We're not able to provide a
 formatting option list after pasting, just like Word does. And actually,
 the expected behavior is relative (that's the reason why word shows
 formatting options on pasting). Some users may expect having the text in
 colored in the above case.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3872#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to