Sep 24, 2012, 2:37 AM
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?
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>