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

Apply Font Size fails in Chrome and Safari with 2010.2.826 (Telerik.Web.UI_2010_2_826_Dev_hotfix)

4 Answers 43 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 10 Sep 2010, 10:30 AM
Hi,

Apply Font Size fails in Chrome and Safari with 2010.2.826 (Telerik.Web.UI_2010_2_826_Dev_hotfix)

To reproduce:
  • Open editor in Chrome or Safari, latest versions, type some text and more, select some text, apply font size.
  • Result: selected text disappears, the HTML source shows: some <span style="font-family: azby; font-size: 13px;"></span> and more

This what I see in Chrome in the JS debugger, might give you a clue of what's happening:
f.pasteHtml("<font "+e+" id='radERealFont'>&nbsp;</font>");

Thanks,
Dan Popa

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 15 Sep 2010, 10:09 AM
Hi Dan,

I tried to reproduce the reported problem using the Default Example of RadEditor, which runs the latest version of the editor 2010.2.826, but without any success.  You can see my test under Safari and Chrome in the following video. Am I missing some step? Are you able to reproduce the problem in the live demo?

You can also replace the RealFontSize tool with the browser's based FontSize tool of RadEditor. You can see how to add new tools to the toolbar in this article: http://www.telerik.com/help/aspnet-ajax/addingstandardbuttons.html

All the best,
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
0
Dan
Top achievements
Rank 1
answered on 27 Sep 2010, 01:08 PM
The issue was caused by some JavaScript from our application that was interfering with the editor.

Thanks,
Dan
0
Dan
Top achievements
Rank 1
answered on 27 Sep 2010, 01:13 PM
I found another issue though which reproduces on your demos too:

1. Open the editor, goto HTML mode.
2. Paste the following HTML in the editor:
<html>
    <head>
        <title>A page</title>
    </head>
    <body>
        Some text content in the BODY. Press ENTER with the cursor placed anywhere in this text. Go to HTML mode, count how many BRs were created and delete the BRs. Go back to design mode. Press ENTER again, go back into HTML mode and count the BRs again. Repeat. You'll notice that a BR is added after each cycle. This happens only when the HTML and BODY tags are present in the HTML code; doesn;t happen when only the text is pasted in the editor in HTML mode.
    </body>
</html>
3. Goto Design mode, click anywhere in the text and press ENTER.
4. Goto to HTML mode and count the BRs and delete them.
5. Repeat steps 3 and 4 and observe how the number of BRs increases by 1 with each cycle.

Please note that this issue doesn't reproduce if the initial content doesn't contain the HTML, HEAD and BODY.
0
Rumen
Telerik team
answered on 27 Sep 2010, 02:04 PM
Hello Dan,

Thank you for reporting this bug.

I reproduced it and notified our developers about it. Since we are going to release Q2 2010 SP2 tomorrow, we will be able to fix the problem for the Q3 2010 release.

We do appreciate your bug report and I updated your Telerik points.

Best wishes,
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
Dan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Dan
Top achievements
Rank 1
Share this question
or