﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebTextEditor - WebTextEditor and custom clear formating</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-and-custom-clear-formating/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebTextEditor and custom clear formating</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-and-custom-clear-formating/</link><pubDate>Fri, 22 Oct 2010 08:29:46 GMT</pubDate><dc:creator>aspnet@softwarestudio.com.pl</dc:creator><description>&lt;p&gt;Hi Niven&lt;/p&gt;
&lt;p&gt;Thx for your answear i will be try to create simple code to clear div tags. I thing it;s solved my problem.&lt;/p&gt;
&lt;p&gt;Thank you very match.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>WebTextEditor and custom clear formating</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-and-custom-clear-formating/</link><pubDate>Thu, 21 Oct 2010 05:50:20 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes you can do that by implementing &lt;strong&gt;OnAfterExecCommand&lt;/strong&gt; client side event. This event will be invoke everytime the user trigger an action on editor.&lt;/p&gt;&lt;pre&gt;&amp;lt;script language="javascript"&amp;gt;
        function OnAfterExecCommand(controlId, operation)
        {
            var rte = ISGetObject(controlId);
            
            if (operation == "RemoveFormat")
            {
                var range = rte.GetRange();
            }
        }
    &amp;lt;/script&amp;gt;&lt;/pre&gt;

&lt;p&gt;The &lt;strong&gt;rte.GetRange()&lt;/strong&gt; value will be vary with each browser. So, you might want to do your own validation inside the &lt;strong&gt;OnAFterExecCommand&lt;/strong&gt; event for each browser and please don't forget to put your own validation about the DIV tag.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Niven &lt;/p&gt;</description></item><item><title>WebTextEditor and custom clear formating</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-and-custom-clear-formating/</link><pubDate>Wed, 20 Oct 2010 03:15:54 GMT</pubDate><dc:creator>aspnet@softwarestudio.com.pl</dc:creator><description>&lt;p&gt;Hi Niven&lt;/p&gt;
&lt;p&gt;no i don't need special function. i want to change how the clear formating works. I need add to clear formating function that will be clear DIV tag on my text. &lt;/p&gt;
&lt;p&gt;So the question is: can i change function that clear formating on text editor? Because i need clear DIV tag's.&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>WebTextEditor and custom clear formating</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-and-custom-clear-formating/</link><pubDate>Wed, 20 Oct 2010 01:58:03 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hi Adam,&lt;/p&gt;
&lt;p&gt;Please correct me if I'm wrong. So you want to add a new button ad WebTextEditor which will add a &amp;lt;div&amp;gt; tag into the selected words? Is it true?&lt;/p&gt;
&lt;p&gt;You can check our WebTextEditor sample, under WebTextEditor -&amp;gt; Toolbar_CustomToolbar.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Niven.&lt;/p&gt;</description></item><item><title>WebTextEditor and custom clear formating</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-and-custom-clear-formating/</link><pubDate>Mon, 18 Oct 2010 19:18:53 GMT</pubDate><dc:creator>aspnet@softwarestudio.com.pl</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I have question, how can i configure custom tag's to remove on clear formating. For example: I want to add do this button cleat &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt; tags. It's possible to do, with WebTextEditor?&lt;/p&gt;
&lt;p&gt;Thx for answear&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item></channel></rss>