Radeditor clear class dont work in linkmanager

5 posts, 0 answers
  1. Amir
    Amir avatar
    12 posts
    Member since:
    Nov 2007

    Posted 23 Aug 2011 Link to this post

    Radeditor clear class dont work in hyperlink manager. when select an style for a link and apply it, you cant remove it !!!

    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
    1. Direction
    2. Line Height
    3. 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 !


  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 26 Aug 2011 Link to this post

    Hi Amir,

    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:

    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 >>

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Amir
    Amir avatar
    12 posts
    Member since:
    Nov 2007

    Posted 27 Aug 2011 Link to this post

     

    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">
    <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>

  5. Amir
    Amir avatar
    12 posts
    Member since:
    Nov 2007

    Posted 28 Aug 2011 Link to this post

    ---
  6. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 31 Aug 2011 Link to this post

    Hi Amir,

    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 >>

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017