Rad Editor browser compliance

2 posts, 0 answers
  1. Bruce
    Bruce avatar
    23 posts
    Member since:
    Sep 2008

    Posted 04 Aug 2009 Link to this post

    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?
  2. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 07 Aug 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top