Editor renders different HTML in safari (mac) ?

4 posts, 0 answers
  1. alaeddin78
    alaeddin78 avatar
    5 posts
    Member since:
    Oct 2006

    Posted 18 Dec 2007 Link to this post

    hi there,
    we are using this control in moss 2007 and have a issue with the rendered html.

    if we make content in the safari browser on mac the editor renders different html as content made in firefox/ie on windows.
    how can this be and what is the reason?

    content that has created on mac makes problems if you try to change it on a windows machine :-(

    greetings from frankfurt
    alaeddin
  2. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 18 Dec 2007 Link to this post

    Hi alaeddin,

    Could you please provide step-by-step instructions how to reproduce the rendering problem that you experience? Could you open a support ticket and send a couple of screenshots of the problem and sample content for test.


    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. alaeddin78
    alaeddin78 avatar
    5 posts
    Member since:
    Oct 2006

    Posted 18 Dec 2007 Link to this post

    hello,
    thank you very much for your fast reply.

    Step by Step:

    1. Create two pages in MOSS
    2. Edit first page in safari on a MAC. Wirte a text with bold und underlined styles with the radEditor lite.
    3. Edit second page on IE on windows xp/2003Server. Write the same formated text with the radEditor lite.

    Now look on the html that is generated in both pages. Here is a html example:

    created html with safari:

    <link rel="stylesheet" type="text/css"

    href="/_wpresources/RadEditorSharePoint/4.3.2.0__1f131a624888eeed/RadControl

    s/Editor/CssEditor.css" />that <span style="font-weight:bold">is </span><span style="text-decoration:underline">a</span> test



    and now created html with IE:


    <link rel="stylesheet" type="text/css"

    href="/_wpresources/RadEditorSharePoint/4.3.2.0__1f131a624888eeed/RadControl

    s/Editor/CssEditor.css" />that <strong>is </strong><u>a </u> test



    the problem is that editing the safari page with ie is not working.


  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 21 Dec 2007 Link to this post

    Hello,

    This problem is caused by the Safari browser's html editing engine. We try to execute a special browser command on all non-IE browsers to make them prefer <strong> tags instead of <span style="..">. Unfortunately, this command is not supported in Safari. I don't think there is a way to fix this in the current RadEditor for MOSS editor. I apologize for the inconvenience.

    Best wishes,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top