HtmlEditor - restrict to use "B" "I" "U" only

  1. #1

    HtmlEditor - restrict to use "B" "I" "U" only

    I'd like to have a TextField or HtmlEditor to allow user to format text using "B" "I" and "U" only.

    I can use HtmlEditor and disable most functions on UI, but I failed to restrict these formatting when user paste formatted text from Word or webpage. How could I filter the unwanted html format tagging, e.g. <a>, <li>, using the following codes?

    <ext:Panel ID="Panel17" runat="server" Layout="FitLayout" AnchorHorizontal="100%"
            Height="150" FieldLabel="Justifications supported with relevant statistics<font color='red'>*</font>">
    	<Items>
    		<ext:HtmlEditor ID="htmRAEJustification" runat="server" EnableLinks="false" EnableSourceEdit="false"
    		EnableColors="false" EnableAlignments="false" EnableFont="false" EnableFontSize="false"
    		EnableLists="false" />
    	</Items>
    </ext:Panel>
  2. #2
    Could I simply paste the text as PLAINTEXT?

Similar Threads

  1. [CLOSED] How does "MaskCls" work for "AutoLoad" mask in panel control
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 19, 2012, 12:09 PM
  2. Replies: 1
    Last Post: Jun 26, 2012, 11:29 AM
  3. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  4. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM
  5. Replies: 2
    Last Post: Jun 26, 2011, 1:59 AM

Tags for this Thread

Posting Permissions