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

RAD Editor with DNN 05.05.00

6 Answers 56 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 13 Oct 2010, 12:59 PM
Hi all,

I am on the very last version of DotNetNuke 05.05.00 and I am encountering a very weird problem with Telerik RAD Editor.
First I precise that I have already post this thread on the DNN forum and for them the problem is not linked with the provider but with the editor itself.

Actually it seems there is a problem with the formatting of the HTML code generated with the editor. Each time I Preview the content of my article or I save it, I got blank lines added in my article. So if i preview the content 5 times, 5 lines will be added, even If I don't touch anything inside the content...

I precise that the article has been entirely written in the editor (nothing linked with Word formatting), and that it doesn't happen in all my articles.

Below is the very simple HTML code entirely generated by the editor:

<p style="text-align: center; margin: 0cm 0cm 0pt;"><span style="font-family: segoe ui; color: #ffc000; font-size: 14px;"> <span style="color: #000000; font-size: 12px;">---</span></span> </p>
<p style="text-align: center; margin: 0cm 0cm 0pt;"><strong><span style="font-family: arial; color: #ffc000; font-size: 14px;">daily partners on roads round France </span>
<p style="text-align: left; margin: 0cm 0cm 0pt;"><span style="font-family: segoe ui; font-size: 12px;"><span style="font-family: arial;">To download a powerpoint please click </span>here</span></p>
</strong></p>

To test it, just add an HTML module, insert the HTML code and try just to preview or save it and you will see what I mean.

This problem is becoming very annoying for the contributors of my portal, because they cannot do anything to correct it, they have to strip all formating and restart each time. I have tried to reproduce the problem and it seems that it's linked with the "New Paragraph" functionnality and also the bulleted list.

First, can you reproduce that problem ? Just tell me if you want some additional information, the resolution of this problem is very important for my business.

Thanks for your help,

Regards,
Nicolas

6 Answers, 1 is accepted

Sort by
0
Nicolas
Top achievements
Rank 1
answered on 13 Oct 2010, 03:44 PM

I know that the fact the editor is pluged into DotNetNuke makes a debug very difficult so I have continued to investigate and I think that the source of the problem is really linked with the editor itself..

To reproduce the problem I have downloaded a trial version of the RAD controls Ajax and configured a rad editor in VS2008. So the test is absolutely DotNetNuke free. I have wrote a very simple article and got the following HTML code. (good for me for the moment)

<span style="color: #1f497d; font-size: 12px;"><span style="background-color: #dbe5f1; font-size: 12px;"><strong>La Diversité Pourquoi ?</strong><br />
</span><br />
Pour que les collaborateurs et les programmes d’Eurosport ressemblent à la société.</span><span style="color: #1f497d;"><br />
<br />
<span style="background-color: #dbe5f1; font-size: 12px;"><strong>Comment ?</strong> </span></span>
<ul>
    <li><span style="color: #1f497d; font-size: 12px;">Création de la Fondation du groupe TF1 en 2007 </span></li>
    <li><span style="color: #1f497d; font-size: 12px;">Mise en place de la Mission Actions Handicap en 2007 </span></li>
    <li><span style="color: #1f497d; font-size: 12px;">Signature de l’Accord en faveur des Seniors en 2009 </span></li>
    <li><span style="color: #1f497d; font-size: 12px;">4 axes prioritaires identifiés dans notre lutte contre les discriminations :  </span></li>
</ul>
<p><span style="color: #1f497d; font-size: 12px;">             - Egalité H/F<br />
             - Age<br />
             - Handicap                <br />
             - Origine ethnique et culturelle</span></p>
<ul>
    <li><span style="color: #1f497d; font-size: 12px;">Création d’une cellule d’alerte, à l’écoute des collaborateurs se sentant discriminés, effective dès janvier 2011. Cliquezici pour en savoir plus.           </span></li>
</ul>

Now try to do this:
  1. Place your cursor on the left of "Création" near the end (see RADEditor1.jpg) and push delete until the content is near to "culturelle' (see RADEditor2.jpg)
  2. Push "Enter", click on the "New paragrah" icon and finally click on the "bulleted list" icon to reproduce the previous vizualisation. This is typically the kind of actions that a basic contributor could do. (see RADEditor3.jpg) (We can note a different color for the bulleted list now...)
  3.  Now go the HTML view, and then come back on the Design view. You will see extra lines added in the article. Just do it again and other ones have appeared too. This is the problem my contributors are encountering when Previewing or saving their article and it seems lots are complaining about this...

I think the problem is definitely linked with a problem of closing HTML tag. In our case these are the tags </span></p> at the end which appear to cause the problem (see RADEditor5.jpg).

Could you please give me a feedback on this, it's very important for my business. Can this be considered as a bug ?

Thanks a lot for your answers,
Regards,

Nicolas

0
Rumen
Telerik team
answered on 18 Oct 2010, 04:14 PM
Hello Nicolas,

Thank you for reporting this problem. I was able to reproduce it and logged it for research and fixing in our PITS system. Here you can find the PITS Issue and check its status: Public URL.

Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Nicolas
Top achievements
Rank 1
answered on 19 Oct 2010, 03:48 PM
Hello Rumen,

I have to precise that I have tried to demonstrate the bug with a very specific scenario that I could rerun, but sometimes this problem happens only with the "New paragrah" function but it very complex to reproduce...

What I mean is that this bug appears not only with the scenario I gave you.

Thanks,

Regards,

Nicolas
0
Rumen
Telerik team
answered on 21 Oct 2010, 04:41 PM
Hello Nicolas,

RadEditor uses the InsertParagraph execCommand implementation of the browser to insert a new paragraph. We plan to implement our own Insert Paragraph tool for one of the upcoming major versions of RadEditor, but we will need reliable steps that will help us to reproduce the occurring problems so that we can avoid or fix them in our implementation.

Kind regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Nicolas
Top achievements
Rank 1
answered on 26 Jan 2011, 11:03 AM
Hi Rumen,

Do you have an idea of when this implementation will be done ?

Thanks for your answer,

Regards,

Nicolas
0
Rumen
Telerik team
answered on 26 Jan 2011, 12:56 PM
Hello Nicolas,

The custom implementation of the InsertParagraph command is planned for Q1 2010.

Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Nicolas
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or