Scripts and Special Tags

4 posts, 0 answers
  1. Steven Bausek
    Steven Bausek avatar
    2 posts
    Member since:
    Oct 2005

    Posted 09 Feb 2009 Link to this post

    I am trying to get the Full Featured RadEditor for SharePoint to allow special tags and scripts.  I have a simple onclick statement to add to a DIV tag <div onclick="">.  The editor continues to strip this out.  I have read the documentation and have added the AllowScripts = true to the Config.XML file and also added the property AllowSpecialTags = true to the Page Layout that contains the RadEditor.  Am I missing something?

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 11 Feb 2009 Link to this post

    Hello Steven,

    In what scenario are you using the RadEditor?

    You should know that in SharePoint forms scenario (Lists, Wikis, Blogs, etc.) you cannot use Javascript. There RadEditor does not have control over the presentation view which means that we cannot control the output when it is not in edit mode.

    Greetings,
    Stanimir
    the Telerik team

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

  3. Michelle Spear
    Michelle Spear avatar
    2 posts
    Member since:
    Mar 2008

    Posted 05 Jun 2009 Link to this post

    I have the same issue, I'm using Telerik.SharePoint.FieldEditor in a MOSS publishing site (page layout).

    Is there some way I can work around?

    Thanks,
    Gary
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 08 Jun 2009 Link to this post

    Hello Michelle Spear,

    Unfortunately there is no RadEditor's setting that you can use to work around the issue. The problem is that after the content of the RadEditor has been sent to the MOSS server, some content filters are applied over it and they are responsible for stripping the attributes. RadEditor has no control over these filters.


    Sincerely yours,
    Stanimir
    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.
Back to Top