profgrid
Not logged in
|
Signup
|
Update Profile
|
Login
Search
Alerts
Home
>
Forums
>
DHTMLEdit - Pre Sale Questions
>
html cleaning
DHTMLEdit - Pre Sale Questions
html cleaning
Thread Starter:
Matthias
Started:
5/10/2007 12:55 PM UTC
Replies:
3
5/10/2007 12:55 PM UTC
html cleaning
Reply
Quote
Matthias
Hallo,
I need to provide a copy / paste function able to process extensive MS Word
content. Is DHTMLEdit prepared to restrict the resulting HTML code to basic
tags like <p>, <ul> etc. and to strip off all other code?
Thanks,
Matthias.
5/10/2007 10:06 PM UTC
Re: html cleaning
Reply
Quote
profgrid.com
Hello Matthias,
Yes, it is - the Source property getter automatically strips off any MS Word custom tags.
-Nicholas
1/22/2008 4:53 PM UTC
Re: html cleaning
Reply
Quote
Andy Kallenbach
How exactly does the Source getter strip MS Formatting?
I am pasting text from MS Word and when saving the Source (which invokes the corresponding get function) the contents still contain MS HTML formatting markup and mess.
1/25/2008 12:16 PM UTC
Re: html cleaning
Reply
Quote
profgrid.com
Hello Andy:
How exactly does the Source getter strip MS Formatting?
See the block with the comment
{ Most likely a Microsoft Word custom tag }
in ProfDHTMLEdit.pas.
I am pasting text from MS Word and when saving the Source (which invokes the corresponding get function) the contents still contain MS HTML formatting markup and mess.
Have you set the SourceCodePreservation property to False?
-Nicholas
P.S. Since you are a registered user, please post your questions to the registered users forum:
http://profgrid.newsgrouphosting.com/profgrid.htmledit.support