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

Urgent: Firefox Issues With RadEditor

5 Answers 47 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bashir
Top achievements
Rank 1
Bashir asked on 09 Feb 2012, 06:14 PM
I am having issues with the Telerik MVC editor and Firefox (somehow works in IE and Chrome)

What I am doing is trying to use the Telerik editor to make a forum-like list of comments. When I first load the page the editor is In a DIV with the visibility set to none so that it cant be seen. When a user clicks on one of several links on the page it moves the editor (with JQuery) into one of several other DIVs (each one is in the location where the forum-like comment had previously been) in the page and allows the user to edit their post.

After they are done editing the Telerik Editor's DIV is moved back to the hidden DIV so it is out of the user's sight.

The issue is in Firefox is that the first time it is moved it gets messed up somewhat; the user cant type into the text box at all (the toolbar buttons do support clicks). If I do the move again (I move it back to the hidden DIV and back to where I want it)  that seems to fix that issue (although that is a pretty clunky solution)

The other issue caused by moving the editor around is that somehow it gets messed up and eats any newlines entered. So for example if I enter this

AAA
BBB
CCC
DDD
 
Telerik will strip out the newlines and save the content as "AAABBBCCCDDD". This issue only happens on the pages where I move the editor around the DOM so I am not sure if it is losing some settings in the process. Is there anyway I can manually fix this?

Overall I like the radeditor a lot but some things like this are preventing me from being able to put it in front of users. One sad thing is that it appears as though the Ajax Editor supports many more toolbar options than the MVC editor. Which is disappointing because I would really like to have support for inserting quote blocks and code blocks. I guess I will have to write this functionality myself?

5 Answers, 1 is accepted

Sort by
0
Bashir
Top achievements
Rank 1
answered on 09 Feb 2012, 07:57 PM
I updated my controls to version 2011.3.1306 and that seems to have fixed the newline issue.

It still has the issue with the content area not being editable sometimes (although if I try again it works)

This still appears to only occur in Firefox.
0
Bashir
Top achievements
Rank 1
answered on 09 Feb 2012, 08:19 PM
When I get the issue in firefox the editor box doesnt show any data and wont accept any typing but it does appear to have the right value if I do the following using a javascript debug console: $('#Content').data('tEditor').value()

This leads me to believe the editor is getting the right data but for some reason the client side features do not always load properly.
0
Petur Subev
Telerik team
answered on 13 Feb 2012, 04:12 PM
Hi Bashir,

I am not sure what might cause the issue, could you please send us a sample project which reproduces the problem so we can investigate further what causes this behavior?

Thank you for the cooperation. 

Kind regards,

Petur Subev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Jon
Top achievements
Rank 2
answered on 29 Jun 2012, 08:14 PM

I am having this same problem, with a slightly different scenario.  Basically I have a RadEditor that works fine in IE and Chrome, but in Firefox (I'm using v8.0), the RadEditor will have the value, but it is not editable.  If I slightly resize the RadEditor then it becomes editable.  It seems to be a timing issue, as sometimes it will work.

I am using v2012.2.607.40.  I am unit-testing my app to upgrade to this latest version.  Is there a fix to this?

Marc

0
Petur Subev
Telerik team
answered on 04 Jul 2012, 12:42 PM
Hi Bashir,

I installed FireFox version 8.0 and browsed the online editor examples. Everything works fine. Could you prepare a small project which replicate the problem so I can try it on my side?

Kind regards,
Petur Subev
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
Editor
Asked by
Bashir
Top achievements
Rank 1
Answers by
Bashir
Top achievements
Rank 1
Petur Subev
Telerik team
Jon
Top achievements
Rank 2
Share this question
or