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

[Solved] "Rad" styles showing in the Style DDL

2 Answers 167 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Eddie
Top achievements
Rank 1
Eddie asked on 16 Oct 2007, 07:38 PM

I have my styles showing in the Styles drop-down list (I specified the file via the <CssFiles> tag), but it show an additional two styles:

RadEWrongWord
RadEDomMouseOver

I don't want these styles visible in the list.  I have experienced this behavior in IE 7 only, and not in FireFox 2.  FF shows only my styles.

---

In a related question, how would I limit which styles from my stylesheet the end user can see?  For example, my stylesheet has styles .Style1 and .Style2.  I want only .Style1 to show in the Editor's Style drop-down list.

---

My Code:

    <telerik:RadEditor ID="RadEditor1"  runat="server" Skin="Vista" Height="250" Width="100%">  
         <Tools> 
           <telerik:EditorToolGroup Tag="Standards">  
                <telerik:EditorTool Name="Bold" /> 
                <telerik:EditorTool Name="Italic" /> 
                <telerik:EditorTool Name="Underline" /> 
            </telerik:EditorToolGroup> 
            <telerik:EditorToolGroup Tag="Styles" > 
                <telerik:EditorTool Name="ApplyClass" Text="Text Style" /> 
            </telerik:EditorToolGroup> 
        </Tools> 
       <CssFiles> 
           <telerik:EditorCssFile Value="~/Editor/EditorTestStylesheet.css" /> 
        </CssFiles> 
         <CssClasses> 
            <telerik:EditorCssClass Name="" Value="" /> 
            <telerik:EditorCssClass Name="Title Text" Value=".FeatureTitle" /> 
            <telerik:EditorCssClass Name="Normal Text" Value=".StandardText" /> 
        </CssClasses> 
        <Content> 
        </Content> 
    </telerik:RadEditor> 

Thanks!
Eddie

2 Answers, 1 is accepted

Sort by
0
Eddie
Top achievements
Rank 1
answered on 18 Oct 2007, 03:08 PM
Any response to this?  I really think there is a problem with styles and IE.  We need to know if this is a user error, or a real bug.  If there are no plans to fix it, we need to discontinue development with Prometheus.

Please let me know.

Thanks
0
Rumen
Telerik team
answered on 18 Oct 2007, 04:22 PM
Hello Eddie,

I tried to reproduce the reported problem in both IE 7 and Firefox, but unfortunately to no avail. For your convenience I have attached a screenshot of my test in IE 7 and my sample project.

Greetings,
Rumen
the Telerik team

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