telerik editor formatting issues

4 posts, 0 answers
  1. Alok
    Alok avatar
    2 posts
    Member since:
    May 2012

    Posted 14 May 2012 Link to this post

    I am trying to apply formatting in editor's selected multiline  text , I select some multiline text and select bold then click on the bullets icon from the tool bar  it shows only one bullet for all lines.
    2) another issue I face is when select the font size for selected text it changes the font size but in the dropdown of font in toolbar some other value(first value)  displayed selected 
    3) I am able to reproduce the issue on your demo site with IE browser.
  2. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 17 May 2012 Link to this post

    Hello,

    1) Could you please provide some initial content for the bullet scenario? You can see my test in the following video: http://screencast.com/t/oL5dUjZJqTJ.
    2) For the second behavior, my suggestion is to replace the RealFontSize dropdown with the FontSize one or use the following code to update the RealFontSize tool:

    <telerik:RadEditor ID="RadEditor1" runat="server" OnClientCommandExecuting="OnClientCommandExecuting" >
    </telerik:RadEditor>
      
    <script type="text/javascript">
        function OnClientCommandExecuting(editor, args) {
            var commandName = args.get_commandName();
            // var selectedElement = editor.getSelectedElement();
              
            if (commandName == "RealFontSize") {
                var tool = editor.getToolByName("RealFontSize");
                  
                if (tool) {
                    setTimeout(function() {
                        var value = args.get_value();
                        tool.set_value(value);
                    }, 100);
                }
            }
        }
    </script>


    Regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Alok
    Alok avatar
    2 posts
    Member since:
    May 2012

    Posted 18 May 2012 Link to this post

    The first issue occurs when apply bullet on multiline text after setting it BOLD, otherwise it is working fine
  4. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 19 May 2012 Link to this post

    Hello,

    Thank you for the additional information about the bug report. I was able to reproduce it and logged it for fixing in our bug tracking system. Here you can find the PITS Issue: Public URL and vote for it.

    I also updated your Telerik points for the bug report.

    Best regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top