View Single Post
  #17 (permalink)  
Old December 22nd, 2008, 11:27 PM
dparsons dparsons is offline
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hi Jim,
In the same vein as number 2 from Imar's list, is there a way for us to Paste as Plain Text? I typically use a posters original code as reference in my responses and i will normally copy their code directly out of the post. The problem I run into is that if the user has used the highlight tag the formatting code is carried through into the editor so copying something as simple as:

csharp Code:
String.Format("{0} world", "Hello");

becomes something like:
Code:
{font size=2}{color=blue}String{/color}{/font}
and so on.

Further, is there anyway to prevent the editor from detecting that i have copied a formatted code block? I have had an issue where i will copy an entire block of code from a post and when I paste it into the editor it inserts what appears to be something like an IFRAME which makes it a tad difficult to navigate around inside the editor.

Thanks!

-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================