Hi,
RadEditor strip font not working when content paste from pdf document.
I am using the RadEditor (version: 2011.1.315.40) with edit form as a model popup.
Below is code snippet that I used in my application
<telerik:RadEditor ID="RadEditor1" runat="server" SpellCheckSettings-DictionaryPath="../RadSpellControl/TDF/"
EditModes="Design" BorderStyle="None" BorderWidth="0px" Height="129px" Width="250px"
ContentAreaCssFile="~/css/radeditor.css" OnClientPasteHtml="OnClientPasteHtml"
OnClientLoad="InitialDescriptionText">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="Bold" />
<telerik:EditorTool Name="Italic" />
<telerik:EditorTool Name="Underline" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="InsertOrderedList" Text="Ordered List" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" />
</telerik:EditorToolGroup>
</Tools>
</telerik:RadEditor>
I have a client application that allows them to enter comments into the RadEditor with Bold, Italic, Underline and numbering option only. so when any content pasted in
RadEditor is strip all style and css except Bold, Italic, Underline and numbering option. that's thing working properly in when content paste from ms-word document for
IE and Firefox browser.
But when content copied and paste from any pdf document then it works only for IE properly with help of "Paste from Word, strip font" button.
but in Firefox, it remove(striped) all style and css with Bold, Italic, Underline and numbering option with help of "Paste from Word, strip font" button..
Could you let me know what is reason of it is not working when the contents are copied from pdf document?
Awaiting for response.
Regards,
Nimesh
RadEditor strip font not working when content paste from pdf document.
I am using the RadEditor (version: 2011.1.315.40) with edit form as a model popup.
Below is code snippet that I used in my application
<telerik:RadEditor ID="RadEditor1" runat="server" SpellCheckSettings-DictionaryPath="../RadSpellControl/TDF/"
EditModes="Design" BorderStyle="None" BorderWidth="0px" Height="129px" Width="250px"
ContentAreaCssFile="~/css/radeditor.css" OnClientPasteHtml="OnClientPasteHtml"
OnClientLoad="InitialDescriptionText">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="Bold" />
<telerik:EditorTool Name="Italic" />
<telerik:EditorTool Name="Underline" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="InsertOrderedList" Text="Ordered List" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" />
</telerik:EditorToolGroup>
</Tools>
</telerik:RadEditor>
I have a client application that allows them to enter comments into the RadEditor with Bold, Italic, Underline and numbering option only. so when any content pasted in
RadEditor is strip all style and css except Bold, Italic, Underline and numbering option. that's thing working properly in when content paste from ms-word document for
IE and Firefox browser.
But when content copied and paste from any pdf document then it works only for IE properly with help of "Paste from Word, strip font" button.
but in Firefox, it remove(striped) all style and css with Bold, Italic, Underline and numbering option with help of "Paste from Word, strip font" button..
Could you let me know what is reason of it is not working when the contents are copied from pdf document?
Awaiting for response.
Regards,
Nimesh