Hi,
I have a rad editor where i have set the default font as Segoe UI in the CSS file and removed the FontName from Tools XML file. We are also using PasteFromWordNoFontsNoSizes button of the editor. We observed that when we copy some text of different fonts say Segoe UI and use this button, the text after copy gets default font of Times Roman.
How to get the default font as Segoe UI when using PasteFromWordNoFontsNoSizes button.
regards,
Parimal
I have a rad editor where i have set the default font as Segoe UI in the CSS file and removed the FontName from Tools XML file. We are also using PasteFromWordNoFontsNoSizes button of the editor. We observed that when we copy some text of different fonts say Segoe UI and use this button, the text after copy gets default font of Times Roman.
How to get the default font as Segoe UI when using PasteFromWordNoFontsNoSizes button.
regards,
Parimal
Editor Code |
---------------------------------------------------- |
<telerik:RadEditor ID="reReviewThreshold" runat="server" |
Width="99%" |
Height="150px" ToolsFile="~/XMLFiles/RadEditorToolBar.xml" |
ToolbarMode="ShowOnFocus" EditModes="Design,Preview" EnableResize="false" > |
<Tools> |
<telerik:EditorToolGroup> |
<telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> |
</telerik:EditorToolGroup> |
</Tools> |
<CssFiles> |
<telerik:EditorCssFile Value="~/stylesheets/RadEditor.CSS" /> |
</CssFiles> |
</telerik:RadEditor> |
----------------------------------------------------------------------------- |
XML File |
------------------------- |
<?xml version="1.0" encoding="utf-8" ?> |
<root> |
<tools> |
<tool name="Bold"/> |
<tool name="Italic"/> |
<tool name="Underline"/> |
<tool separator="true"/> |
<tool name="InsertOrderedList"/> |
<tool name="InsertUnorderedList"/> |
<tool separator="true"/> |
<tool name="FontSize"/> |
<tool name="ForeColor"/> |
<tool name="BackColor"/> |
<tool separator="true"/> |
</tools> |
</root> |
------------------------------------------------------------------------ |
CSS Code |
------------------ |
body |
{ |
color: black; |
font-size: 12px; |
font-family:Segoe UI; |
} |