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

Strip Line Breaks from Content

1 Answer 46 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Ryan Ball
Top achievements
Rank 1
Ryan Ball asked on 13 Jan 2010, 05:53 PM
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.

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 14 Jan 2010, 07:57 AM
Hi Ryan Ball,
You can create a custom content filter. Review the following online help article http://www.telerik.com/help/aspnet/editor/contentfilters.html 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.
 


Regards,
Stanimir
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
Ryan Ball
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or