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

RadEditor is sometime no longer able to format content correctly

3 Answers 92 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Anthony Clenet
Top achievements
Rank 1
Anthony Clenet asked on 22 Sep 2009, 02:40 PM
I am using the fully featured RadEditor for MOSS v5.4.

Sometimes, the component is no longer able to format content correctly. Usually, this occurs when lines or bullets are at the end of the text. It becomes impossible to remove unnecessary lines. Users must edit content with the HTML editior which is not so simple for standard users ...

Is there a fix for this?

Below code that is problematic : Delete lines of text at the end after the table element (do several tests if the lines disappear after validating the content. The behavior is a bit random. ;-)  ).

<p style="text-align: center;"><span style="font-size: 18px; color: #37992a; font-family: arial;"><strong>Bienvenue dans Négoce Village !<br />

</strong></span><span style="font-size: 13px; font-family: arial;"><strong><span style="font-size: 18px;"><span style="color: #37992a;">Le site des entreprises de négoce</span> <br />

</span></strong><span style="font-size: 24px; color: #37992a;">

<p style="text-align: left;"><span style="font-size: 13px; color: #000000; font-family: arial;"><strong>450 entreprises, 6 milliards de chiffre d'affaires, 11.000 personnes.<br />

<br />

</strong></span><span style="font-size: 13px; color: #000000;"><strong>Pour les activités d’agrofourniture,</strong> conseil, préconisation, distribution des intrants (fertilisants, produits phytopharmaceutiques, semences aliments pour animaux).<br />

</span><span style="color: #000000;"><span style="font-size: 13px;"><strong><br />

Pour le commerce des céréales oléagineux et protéagineux,</strong> collecte des productions, stockage, mise aux normes, commercialisation sur le marché intérieur et l’export.<br />

</span> <br />

</span><strong><span style="font-size: 32px;">

<table align="center">

    <thead>

    </thead>

    <tbody>

        <tr>

            <td>

            <p style="text-align: center;"><span style="font-size: 32px; color: #37992a;"><strong>Prochain Congrès<br />

             du Négoce Agricole<br />

            </strong></span><span style="color: #000000;"><span style="font-size: 24px;"><strong>vendredi 27 novembre 2009<br />

            </strong> à</span><span style="font-size: 24px;"> la bourse de commerce de Paris</span></span><span style="font-size: 24px;"> </span></p>

            </td>

        </tr>

    </tbody>

</table>

</span></strong></p>

<p style="text-align: center;"> </p>

<p style="text-align: center;"> </p>

</span>

<p style="text-align: center;"> </p>

<p style="text-align: left;"> </p>

</span></p>

<p>&nbsp;</p>

<p style="text-align: center;"> </p>

<p> </p>

<p style="text-align: center;"> </p>

<p> </p>

<p> </p>

<p style="text-align: center;"> </p>

<p> </p>

3 Answers, 1 is accepted

Sort by
0
Vyrban
Top achievements
Rank 1
answered on 24 Sep 2009, 11:21 AM
Why don't you try to set property ContentFilters = "none" (in the configuration file, depends on your scenario). Does it help?
0
Ian
Top achievements
Rank 1
answered on 26 Oct 2009, 05:53 PM
Our users are experiencing the same problem.  I was told it was the editor trying to correct what it considers faulty HTML.  Does anyone know if the solution suggested by Vyrban works?

Thanks in advance.

Ian
0
Rumen
Telerik team
answered on 29 Oct 2009, 05:46 PM
Hi Ian,

Please, note that it is the browser's Rich Text Editing engine that tries to validate the non well formed content and after that the RadEditor filters. In this scenario it is best to only disable the ConvertToXhtml and ConvertFontToSpan filters of RadEditor which is mislead by this browser change.

More information about the built-in filters of RadEditor is available here.

Sincerely,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
WebParts for SharePoint
Asked by
Anthony Clenet
Top achievements
Rank 1
Answers by
Vyrban
Top achievements
Rank 1
Ian
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or