Hi,
I need to develop a simple HTML editor. This editor loads HTML files that have the styles in a separate css file. The stylesheet is linked with
When saving the HTML file, this stylesheet link is removed from the HTML code. Saving is done with
Code
wpEditor.SaveToFile(wpEditor.LastFileName, false, 'HTML-DontWriteFontParams,HTML-DontWriteStyleParam');
and the resulting HTML file includes a new <style> section with all the definitions from the original css - but commented out with <!--.
How can I prevent the removal of the link?
Is there a tutorial for editing HTML files in TWPRichText with minimum impact on the already existing HTML code?
Best regards,
Fred[/code]