<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Copy and paste without formating</title><link>https://www.infopathdev.com:443/forums/thread/19528.aspx</link><pubDate>Wed, 02 May 2007 16:09:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19528</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19528</wfw:commentRss><description>Hi Thierry,
&lt;br /&gt;&lt;br /&gt;
One idea would be to provide a regular textbox above the rich-text box for pasting.  The user would paste into this regular textbox (therefore removing all formatting), and then you could write code to copy from the regular textbox into the rich-text box, adding all of the tags that you need.
&lt;br /&gt;&lt;br /&gt;
Just an idea, I hope you got it figured out!</description></item><item><title>Copy and paste without formating</title><link>https://www.infopathdev.com:443/forums/thread/5882.aspx</link><pubDate>Wed, 18 Oct 2006 06:18:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5882</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5882.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5882</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have the following problem I have in a rich textbox some formating that I set (xhtml:b) for enter my model.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;&lt;pre&gt;&amp;lt;Text&amp;gt;the &amp;lt;xhtml:b&amp;gt;cat&amp;lt;/xhtml&amp;gt; is under the &amp;lt;xhtml:b&amp;gt;table&amp;lt;/xhtml&amp;gt;.&amp;lt;/Text&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;But if the user user make a copy and paste from word for example there is a problem because there copy the font familly attribut and other things that I dont need how I can do for remove this formatting?&lt;br /&gt;&lt;br /&gt;What is the best before they insert (crtl-v) or after on Save event?&lt;br /&gt;&lt;br /&gt;So for resume there must stay in my richtext only my formatting (xhtml:b with an id attribut equals to T,B,N,I) that I set in my code behind.&lt;br /&gt;&lt;br /&gt;But If I can remove the formatting before they insert with crtl+v I think it's the best way!&lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;&lt;br /&gt;Thierry</description></item></channel></rss>