CSS Link stripped from template

  •  06-21-2007, 1:38 AM

    CSS Link stripped from template

    Greetings,

    We are using "EditorWysiwygModeCss" to populate the CSS Class drop-down and it works great
    Editor1.EditorWysiwygModeCss ="/StyleSheets/General.css";
    one problem - even if we set
    Editor1.EditCompleteDocument = true;
    when we load a template into the editor, the CSS link in the template gets stripped out, so although the user can select a CSS class, and the class is assigned to the HTML element, it doesn't render (show) in the editor.

    If we do
    Editor1.EditCompleteDocument = false;
    and embed the CSS Link inside the <BODY> tag (yuk), then it does work, until we do an 'undo' or some other action, at which point the link is again stripped.

    We think we must be missing something, but can't see what?

    Thanks!

    Greg

View Complete Thread