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

[Solved] bold not working

7 Answers 300 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tgaud
Top achievements
Rank 1
Tgaud asked on 25 Aug 2009, 09:56 AM
Bold Is always active on my radeditor. Even if i click on the bold button
I use the "Black" skin.

Here is my code :

  <telerik:RadEditor ID="test" OnClientLoad="LimitCharacters"  OnClientPasteHtml="OnClientPasteHtml"  EditModes="Design"  Runat="server" Skin="Black"  Language="fr-FR" width="450px" Height="300px" >
                         <Tools>
                    <telerik:EditorToolGroup >
                    <telerik:EditorTool Name="Cut" />
                    <telerik:EditorTool Name="Copy" />
                    <telerik:EditorTool Name="Paste" />
                    <telerik:EditorTool Name="Indent" />
                    <telerik:EditorTool Name="Outdent" />
                    <telerik:EditorTool Name="Italic" />
                    <telerik:EditorTool Name="Bold" />
                    <telerik:EditorTool Name="Underline" />
                    <telerik:EditorTool Name="JustifyCenter" />
                    <telerik:EditorTool Name="JustifyLeft" />
                    <telerik:EditorTool Name="PasteFromWord" />
                    <telerik:EditorTool Name="InsertOrderedList" />
                    <telerik:EditorTool Name="InsertUnorderedList" />
                    <telerik:EditorTool Name="ForeColor" />
                    <telerik:EditorTool Name="FontSize" />
                    </telerik:EditorToolGroup>
                    </Tools>
                    <Content>
                    
                </Content>
                </telerik:RadEditor>

How can i resolve this ?

I tried to place it in a <div style="font-weight:normal"> but it's not working.

7 Answers, 1 is accepted

Sort by
0
Tgaud
Top achievements
Rank 1
answered on 25 Aug 2009, 10:14 AM
I edited to add more informations to the problem.
0
Tgaud
Top achievements
Rank 1
answered on 26 Aug 2009, 09:06 AM
up
0
Georgi Tunev
Telerik team
answered on 26 Aug 2009, 10:17 AM
Hello Tgaud,

The code that you posted looks OK and at this point we cannot tell what the reason for the problem might be. Please open a support ticket and send us a sample page where this issue could be reproduced and we will check it right away.


Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Tgaud
Top achievements
Rank 1
answered on 26 Aug 2009, 11:16 AM
in fact i have in the body css class "font-weight : bold"
and if i disable it, it works.

but after i have my telerik radeditor in a
<div style="font-weight:normal;">

with a label.
my label is not bold, but the editor isnt impacted by the style's div.


So my total code is :

<body style="font-weight:bold">

      <label1>

      <div style="font-weight:normal;">
            <label2>
            <radeditor>
       </div>

</body>


Result :

Label1 is bold
Label2 is not bold.
radeditor is bold.
0
Tgaud
Top achievements
Rank 1
answered on 27 Aug 2009, 08:21 AM
up
0
Tgaud
Top achievements
Rank 1
answered on 28 Aug 2009, 12:21 PM
In fact i've found the bug :

when you have

body { font weight: bold}

In your CSS

the RadEditor content will be bold no matter what.
Even if you include the radeditor in a div with "font weight : normal"  (which work for the asp:Label controls but not for radeditor content)
0
Rumen
Telerik team
answered on 28 Aug 2009, 12:55 PM
Hello Tgaud,

Please, use the solution provided in this help article: Content Area Appearance Problems.

Sincerely,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Tgaud
Top achievements
Rank 1
Answers by
Tgaud
Top achievements
Rank 1
Georgi Tunev
Telerik team
Rumen
Telerik team
Share this question
or