This is a migrated thread and some comments may be shown as answers.

[Solved] Show/Hide Border > Changes Font

2 Answers 47 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stephan
Top achievements
Rank 1
Stephan asked on 03 Jul 2008, 07:51 AM
hello,

We have installed the editor on MOSS 2007 and all in all it is an fantastic solution for text editing.

In the edit interface of a wiki page the editor shows the standard font (Arial) and that's ok. But when i use the show/hide border tool the font changes to Times.
I searched the skin .css files of the editor but i wasn't able to solve the problem.

Do you have en suggestions to solve this "bug"?

best regards
stephan

2 Answers, 1 is accepted

Sort by
0
Stephan
Top achievements
Rank 1
answered on 03 Jul 2008, 08:01 AM
by the way, this is the EditorContentArea.css:
.RadEWrongWord  
{     
    background-coloryellow;  
}  
 
.RadEDomMouseOver  
{  
    background-color:#efefef;  
    border:1px dashed red;  
}  
 
BODY  
{  
        font-familyArial;  
        font-size11pt;  
    padding:3px;  
    background-imagenone !important;  
    margin0px;      
    text-alignleft;     
    scrollbar-face-color#E9E9E9;  
    scrollbar-highlight-color#FFFFFF;  
    scrollbar-shadow-color#E9E9E9;  
    scrollbar-3dlight-color#DBDBDB;  
    scrollbar-arrow-color#787878;  
    scrollbar-track-color#F5F5F5;  
    scrollbar-darkshadow-color#AEAEAE;  
    word-wrap: break-word;  
}  
 
form  
{  
     background-color:#efefef;  
     border:1px dashed #555555;        
}  
/* CSS class for A name */ 
 
table  
{  
    BORDER-RIGHT: #999999 1px dashed;   
    BORDER-BOTTOM: #999999 1px dashed;  
}  
 
table td  
{  
    PADDING: 1px;  
    BORDER-TOP: #999999 1px dashed;   
    BORDER-LEFT: #999999 1px dashed;      
}  
 
table th  
{  
    PADDING: 1px;  
    BORDER-TOP: #000000 1px dashed;   
    BORDER-LEFT: #000000 1px dashed;  
}  
 
 
.RadEContent, .RadEContentBordered  
{  
     font-familyArial;  
     font-size11pt;  
0
George
Telerik team
answered on 08 Jul 2008, 01:46 PM
Hi Stephan,

When you use the editor's Show/Hide border tool, it applies and remove the EditorContentArea.css styles. In order to achieve the desired behavior please isolate the desired CSS Styles in a new CSS file ( for example CustomCssFile.css) and setting the editor's CssFiles property to point to the new CSS file CustomCssFile.css.

Depending on your scenario Web Part and WCM / SharePoint forms scenario (Lists, Wikis, Blogs, etc.) you have to modify the ConfigFile.xml / ListConfigFile.xml, which is located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.x.x.0__1f131a624888eeed/RadControls/Editor/ folder like follows:

< property name = "CssFiles">   
   < item > /_wpresources/RadEditorSharePoint/CustomCssFile.css </ item >   
</ property > 
 

Thus, the desired files will be always applied.

Kind regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
RadEditor
Asked by
Stephan
Top achievements
Rank 1
Answers by
Stephan
Top achievements
Rank 1
George
Telerik team
Share this question
or