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

A Script & Css (used to config right to left language) couldn't applied to RadEditor meanwhile RadTextBox successfully works!

1 Answer 55 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Hassan Yasir
Top achievements
Rank 1
Hassan Yasir asked on 06 Jul 2010, 01:24 PM
Could you please attend to my problem and give me a solution:
I am trying to write dhivehi language (dv-MV).

I am using a javascript to configure the fonts of divehi language to work it proper:
http://www.jawish.org/blog/uploads/jtk-4.2.1.js

Reference to the script (how it works):
http://www.jawish.org/blog/archives/322-Javascript-Thaana-Keyboard-version-4.0.html

Fonts used:
http://www.miadhu.com/dv/wp-content/themes/miadhu_dhivehi/images/miadhu_fonts.zip




HTML HEAD:
<head runat="server"
    <title></title
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" /> 
        <script src="../Scripts/jtk-4.2.1.pack.js" type="text/javascript"></script> 
    <script type="text/javascript"
        thaanaKeyboard.defaultKeyboard = 'phonetic'
    </script> 
</head> 

CSS:
.thaanaKeyboardInput  
    font-family: faruma, 'mv iyyu nala''mv elaaf normal'
    directionrtl


Applied to RadTextbox:
 <telerik:RadTextBox ID="RadTextBox1" CssClass="thaanaKeyboardInput" Runat="server" Width="740px"  
        MaxLength="200" Rows="1" Skin="Hay" > 
        <HoveredStyle BorderColor="#A78080" /> 
        <EnabledStyle BorderColor="#D3C0C0" /> 
    </telerik:RadTextBox> 

While this method successfully works with RadTextbox (see the attached RadTextbox.jpg), this couldn't work with RadEditor(editor.jpg).

I think it is because I can't directly apply the css to the textbox inside the editor.

Could you please try to understand my problem and help me?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 06 Jul 2010, 02:18 PM
Hi Hassan,

The content area of RadEditor is not an input or a textarea element but an editable IFRAME element. It looks like the provided JavaScript code does not support IFRAME elements. We do not provide support for third party libraries and controls.

If you want to set RadEditor in RTL mode, please use the solution provided in this live demo: RTL Support.

Kind regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Hassan Yasir
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or