Strip Line Breaks from Content

2 posts, 0 answers
  1. Ryan Ball
    Ryan Ball avatar
    1 posts
    Member since:
    Jan 2010

    Posted 13 Jan 2010 Link to this post

    Hiya. Within SharePoint I am now using the Editor Lite to give users an nicer interface while composing content - which I am then referencing within a Workflow when sending out newsletters. The Workflow is picking up all of the line breaks within the HTML and automatically appending BR tags to tne end of each line - is there anyway that I can extend Editor Lite to automatically remove all line breaks before an Item is saved? Many thanks.
  2. Stanimir
    Stanimir avatar
    1653 posts

    Posted 14 Jan 2010 Link to this post

    Hi Ryan Ball,
    You can create a custom content filter. Review the following online help article and more specifically its Implementing a Custom Filter part. Also review the Set Properties Via Config File article so you will be able to set the OnClientLoad property.

    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.

Back to Top