Telerik Editor Issue

10 posts, 0 answers
  1. Amit
    Amit avatar
    12 posts
    Member since:
    Jul 2010

    Posted 02 Jul 2010 Link to this post

    Hi,

    We are facing some issue while creating the page with telerik editor. Screen shot also attached for the same error below mentioned.
    I am getting "Click Auto Correct on the toolbar to remove invalid content or formatting". I am not able to figure out where auto correct icon is in toolbar. Will apreciate if someone can help me on that.



  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 06 Jul 2010 Link to this post

    Hello Amit,

    Could you provide me with some additional information so I will be able to reproduce the issue?
    Inform me exactly which version of RadEditor for MOSS are you using? Send me the contents of the ConfigFile.xml, which is located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder. Also provide me with the HTML content, which is causing the issue.

    Greetings,
    Stanimir
    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

  3. Amit
    Amit avatar
    12 posts
    Member since:
    Jul 2010

    Posted 06 Jul 2010 Link to this post

    Hi,

    The Version we are using is:
    We are using the Version RadEditorMOSS_5_7_3_Trial.

    The Content which is creating problem:

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
    </head>
    <body>
    <div id="mainContent" name="mainContent" style="margin-top:15px; margin-left:15px">
    <table height="20" cellspacing="0" cellpadding="0" width="379" border="0">
    <tbody>
    <tr>
    <td class="lob-sb1-chromeHeader">Open a ticket</td>
    </tr>
    </tbody>
    </table>
    <br>
    <table cellspacing="0" cellpadding="1" width="379" border="0">
    <tbody>
    <tr>
    <td valign="top" width="11"><img height="13" width="9"></td>
    <td valign="top" width="100%"><strong><span class="epi-fontLg">Issues/Performance Issues</span></strong>
    <ol style="margin-top:1px">
    <li>Go to the homepage - <a class="spi-spi-lefthand1-cdt3-titlelink" title="Help" href="Test.aspx?C=33a585ec205b4e75a1fb448e1e22928f&amp;URL=http%3a%2f%2ftest%2f" target="_blank">
    http://Google.com</a> </li><li>Under the &quot;Contact Us&quot; section, click on &quot;Open a Issue Online&quot; </li><li>Enter Login ID and Password </li><li>Enter description of issue/problem within the Description Box; also, add the following text &quot;Issue  is for the Attention of the Test&quot;
    </li><li>Validate your Login ID </li><li>Click on &quot;No Thanks - Submit Ticket&quot; </li></ol>
    <p>&nbsp;</p>
    For those that <b>DO NOT</b> have access to &quot;Open a ISSUE  Online,&quot; <br>
    - Enter your SID and select option(s) 1, 3, 6<br>
    - Raise a Problem Ticket for the attention of the &nbsp;&nbsp;TEST workgroup</td>
    </tr>
    </tbody>
    </table>
    <table>
    <tbody>
    <tr valign="top">
    <td width="379"><br>
    <table height="20" cellspacing="0" cellpadding="0" width="379" border="0">
    <tbody>
    <tr>
    <td class="lob-sb1-chromeHeader">Contact Us</td>
    </tr>
    </tbody>
    </table>
    <br>
    <table cellspacing="0" cellpadding="1" width="100%" border="0">
    <tbody>
    <tr>
    <td valign="top" width="11"><img height="13" width="9"></td>
    <td valign="top" width="100%">
    <p>General Support, Feedback and Escalation</a></strong><br>
    For general support, feedback, and escalation of issues</p>
    <p>
    </a></p>
    </td>
    </tr>
    </tbody>
    </table>
    <br>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    </td>
    </tr>
    </tbody>
    </table>
    </div>
    </body>
    </html>








    Here is the ConfigFile.xml Contents:

    <?xml version="1.0" encoding="utf-8" ?>
    <!-- ==============================================================================================
        Config File valid structure:
        <configuration>
        <property>...</property>
        ...
            <property>
                <item>...</item>
                <item>...</item>
                ...
            </property>
            ...
        </configuration>
    =============================================================================================== -->
    <configuration>
        <property name="ToolbarMode">ShowOnFocus</property>
        <property name="ToolsWidth">680px</property>
    </configuration>


    Please advice... This thing is happening in Edit mode of publishing page layout. Also this is only happening when the editor is in HTML mode.




  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 08 Jul 2010 Link to this post

    Hi Amit,

    Thank you for the provided information. It looks like there is a problem with the way that RadEditor for MOSS handles the default MOSS editor Auto Correct functionality. Normally if properties such as AllowTextMarkup, AllowFonts, AllowTables etc. are set in the SharePoint designer (For example:<PublishingWebControls:RichHtmlField id="Content" FieldName="PublishingPageContent" AllowFonts="false"  runat="server"/>) and there is a problem with the content, RadEditor for MOSS pops up a confirmation dialog, which allows you to clean the content. In your case this feature of the control is not working properly.

    I logged this in our bug-tracking system and I hope that we will be able to fix it for the next release, which is scheduled for the end of the next week.

    You can follow the PITS Issue by its ID: 2630


    All the best,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Amit
    Amit avatar
    12 posts
    Member since:
    Jul 2010

    Posted 08 Jul 2010 Link to this post

    Hi,

    Thanks for the prompt reply. Right now is there any way , so that we can avoid this for the time being.
    Actually we are using editor as a web part. please suggest so that for the time being we can proceed without having this issue.


    Thanks
    Amit
  6. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 12 Jul 2010 Link to this post

    Hi Amit,

    Unfortunately the problem is in the server code of the control, so there is no easy way of fixing this issue. At this point you can try using the Strip formatting options of the editor http://www.telerik.com/help/aspnet-ajax/cleaningwordformatting%20.html or you need to stop the MOSS Auto Correct functionality of the control.


    Kind regards,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Amit
    Amit avatar
    12 posts
    Member since:
    Jul 2010

    Posted 12 Jul 2010 Link to this post

    Hi There,

    Thanks for the reply. How can we stop the Moss auto correct functionality? please let me know.

    Thanks
    Amit Kumar
  8. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 13 Jul 2010 Link to this post

    Hi Amit,
    I found the following forum thread regarding this matter http://vspug.com/sezai/2007/10/19/locking-down-styles-in-the-moss-publishing-html-field-control/.

    I think that you need to modify the PublishingWebControls:RichHtmlField filed in SharePoint designer (as it is explained in http://www.telerik.com/help/aspnet-ajax/using-radeditor-in-web-content-management-scenario.html) and remove properties such as AllowFonts, AllowExternalUrls etc.

    Greetings,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  9. Solomon
    Solomon avatar
    17 posts
    Member since:
    Feb 2008

    Posted 20 Oct 2010 Link to this post

    Does anyone know if this has been resolved in the latest build? I cannot find 2630 in the PITS system and this issue is becoming a real pain to work around.

    Thanks!

    Solomon
  10. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 21 Oct 2010 Link to this post

    Hello Solomon,

    At this point the only solution is to remove properties such as AllowFonts, AllowExternalUrls etc.


    Best wishes,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top