EditCompleteDocument + Loading css from <head> section of document

  •  01-26-2011, 11:06 PM

    EditCompleteDocument + Loading css from <head> section of document

    I want to use the EditCompleteDocument property but none of the CSS classes from within the <head> of the document are being applied to the content within the editor.
     
    I would like to be able  load the complete HTML from a url and have it render within the editor with all of the css classes applied so it looks just like it would on the web. Is this possible? 
     
    ---------------------------------------------------------------------- 
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>My Page TItle</title>
        <link href="includes/default.css" rel="stylesheet" type="text/css" />
        <link href="includes/fonts.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="mybodyclass">
    this is my content
    <span class='someclass'>
    hi there
    </span>
    </body>
    </html>
View Complete Thread