hyperlink manager -> Hyperlink -> CSS Class -> clear class
(I have ie 9.0)
I got disappointed with RadEditor, there are some basic tools and functions that are not in RadEditor, such as
- Direction
- Line Height
- Custom css class edit for object (only selective class availble)
RadEditor didnt switch to rtl when add rtl style to it (tools are stil ltr) and i must add too many styles!
I have posted another bug in the forum
http://www.telerik.com/community/forums/aspnet-ajax/editor/radeditor-fullscreen-bug-when-placed-in-raddock.aspx
the editor full screen not work correct in raddock.
please help !
4 Answers, 1 is accepted
Thank you for reporting the "Clear class" problem. I was able to reproduce it and we will do our best to fix it for the next version. Here you can find the PITS Issue: Public URL.
As to your feature requests:
- Direction: You can implement such a tool using as a base the code provided in the following forum thread: RTL & LTR Buttons in the radEditor Tools.
- Line Height - there is a help article for how to build such a custom tool: Creating a Line Spacing Dropdown.
- Custom css class edit for object (only selective class availble) - Have you seen such a tool provided by another DHTML editor? Please provide more information for this request.
- RadEditor didnt switch to rtl when add rtl style to it (tools are stil ltr) and i must add too many styles! - RadEditor's is a complex composite control contained by multiple nested HTML elements. Actually you need only a single css file to put the toolbar of RadEditor to RTL mode. The other css files are for its dialogs and its content area. You can see the following forum for more information: http://www.telerik.com/community/forums/aspnet-ajax/editor/multi-language-radeditor.aspx
- I already answered your question in your forum post: http://www.telerik.com/community/forums/aspnet-ajax/editor/radeditor-fullscreen-bug-when-placed-in-raddock.aspx. This is not a bug of RadEditor but a side effect of some CSS setting which we can help you to solve if you send us a working project.
Best wishes,
Rumen
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
hi,
Thanks for reply.
I already added this tools in my radeditor but i think specified tools are necessary to be built in tools in Radeditor, specially rtl or rtl button.
- I think the rtl or ltr button function is more complex than explained in the example. When you click the button and you are in a ul or ol it must add direction to ul tag or when you press it in the table, it must add a direction to table. Your example only add a paragraph class and its not a complete answer. I wrote a better version but its not the best solution. the fuction must determine the parent or selected object and do the best thing (its more complicated than explained in the example)
- The line height solution is good and i am currently use it but is not best solution. I want that user can specifiy the line height manually not select from list. I dint found any sample for custom line height for radetior.
- I saw the custom css class it in ckeditor http://ckeditor.com/demo . if you edit a link in the advanced tab you can add css class or write custom style.
- finally i post the sample project for incorrect fuction of full screen button in RdEditor. you can see that the editor only strech from right (in internet explorer 9.0)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
style
=
"direction: rtl;"
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadStyleSheetManager
ID
=
"RadStyleSheetManager1"
runat
=
"server"
>
</
telerik:RadStyleSheetManager
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
div
style
=
"width: 700px; margin-left: auto; margin-right:auto;"
>
<
telerik:RadDockZone
ID
=
"rdzContent"
runat
=
"server"
Width
=
"100%"
>
<
telerik:RadDock
ID
=
"rdContent"
runat
=
"server"
Width
=
"100%"
EnableDrag
=
"false"
Collapsed
=
"False"
DefaultCommands
=
"ExpandCollapse"
EnableAnimation
=
"True"
>
<
ContentTemplate
>
<
telerik:RadEditor
ID
=
"reRichTextBox"
runat
=
"server"
NewLineMode
=
"P"
NewLineBr
=
"False"
Width
=
"100%"
>
</
telerik:RadEditor
>
</
ContentTemplate
>
</
telerik:RadDock
>
</
telerik:RadDockZone
>
</
div
>
</
form
>
</
body
>
</
html
>
1) It you would like you can post your modification of the RTL / LTR solution in our Code Library section and share it with the community. Of course, we will award you with Telerik points for your valuable contribution.
2) If you would like you can implement your own custom Line Height dialog which will contain input controls in which the user will be able to add custom values. You can find how to create custom dialogs in this help article: Custom Dialogs.
Another approach is to add a new item in the Line spacing custom dropdown which will launch a prompt in which the user will add a new value.
3) Thank you for the clarification and provided information. I logged your feature request in our PITS system and updated your Telerik points for it. Here you can find the PITS Issue: Public URL.
4) This is not a bug. The fullscreen mode is calculating the position of the page from the top left corner of the page and this works correctly in LTR mode. That is why I provided a solution with two editors in your other forum post. If you implement your own solution and share it with the community we will gladly award your work.
Best regards,
Rumen
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>