I started out by implementing a tab replacement function in JavaScript that was bound to the paste event and observed that it wasn't replacing the tabs.
Most RTEs let you view the HTML source code. If I paste a(tab)b into FCKEditor the HTML source shows a(nbsp)b. RTEs are custom code so most of my uncertainty is whether the RTEs are doing the replacement or if MSIE is getting rid of the tabs. -Mike Chabot On Tue, Jan 27, 2009 at 12:24 PM, Adrian Lynch <[email protected]> wrote: > How are you checking they're no longer tabs? It might be that they look like > spaces because of their size. > > Adrian > >> -----Original Message----- >> From: Mike Chabot [mailto:[email protected]] >> Sent: 27 January 2009 17:16 >> To: cf-talk >> Subject: Pasting Tabs into a Rich Text Editor >> >> In a TextArea form field some users paste in tabular data formatted >> using tabs (in addition to other text). I want to turn this field into >> a Rich Text Editor (RTE), but pasting in tabs seems to be a problem in >> MSIE. I was told by a person that supports one RTE that MSIE >> automatically turns every tab into a space and there is nothing that >> can be done about it. >> >> Can anyone confirm that there is no way to paste a tab character into >> any Rich Text Editor in MSIE? >> >> My research into this issue would suggest that this is the case since >> I tested a dozen RTEs and none of them supported pasting tabs, >> although I did not find any definitive answer. I also tested the >> notable Flash, Flex, and Silverlight RTEs and none of those supported >> tabs either. Why are tabs retained when pasting into a textarea field, >> but not any RTE? My goal would be to replace tabs with a series of >> non-breaking spaces using JavaScript. Firefox already does this >> replacement. >> >> Thank you, >> Mike Chabot > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318621 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

