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

Rad Editor browser compliance

1 Answer 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Bruce
Top achievements
Rank 2
Bruce asked on 04 Aug 2009, 01:54 PM
We are having major issues with the Rad Editor. Opera 9.64 (PC/Mac), doesnt render the editor itself correctly, therefore you cannot even type into the box. Firefox 2.0.0.16 has issues rendering the rad toolbar. Safari 3.1.2 uses completed different markup than FF and IE. Even when I specify a new line type it (Safari) still uses "div" tags.

Are there known issues with these browsers? Do i have to do something special to get them to work?

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 07 Aug 2009, 07:54 AM
Hello Bruce,

With regards to the UI issues - can you confirm that you are using the current official release Q2 2009? Are you able to reproduce the layout problems you describe on the editor's online demos available here:
http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

As far as Safari producing DIVs instead of Ps - we have logged this feature for implementation for the coming Q3 2009. At present there is no way to "tell" the underlyign Safari rich-edit engine to produce Ps. One way you can try to workaround the functionality would be by attaching to the OnClientSubmit method of RadEditor, obtaining a reference to the editor's content area and replacing all DIV's with Ps, e.g.

<telerik:RadEditor OnClientSubmit = "OnClientSubmit" ../>

<script>
function OnClientSubmit(editor)
{
     var doc = editor.get_document();
     var divs = doc.getElementsByTagName("DIV");
   //TODO: Run a cycle and replace all DIV elements to Ps, or do something more fine-tuned.
}
</script>


Sincerely yours,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Bruce
Top achievements
Rank 2
Answers by
Tervel
Telerik team
Share this question
or