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

telerik editor formatting issues

3 Answers 52 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alok
Top achievements
Rank 1
Alok asked on 14 May 2012, 11:25 AM
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.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 17 May 2012, 10:58 AM
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.
0
Alok
Top achievements
Rank 1
answered on 18 May 2012, 09:35 AM
The first issue occurs when apply bullet on multiline text after setting it BOLD, otherwise it is working fine
0
Rumen
Telerik team
answered on 19 May 2012, 09:17 AM
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.
Tags
Editor
Asked by
Alok
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Alok
Top achievements
Rank 1
Share this question
or