This question is locked. New answers and comments are not allowed.
I'm using the Editor MVC extension (v2010_3_1110) in an MVC2 application. I invoke the Editor using EditorFor, and I pre-populate the Value with a complete, valid HTML 4.0 document (including DOCTYPE declaration, with a STYLE node in the HEAD). This works great, the HTML content is displayed properly in the Editor, and submits back to my Controller.
Problem is, what I get back is a fragment of the original document I started with. I get an HTML-commented DOCTYPE, an empty STYLE node, then everything that was inside the BODY tag. Yes, I could re-insert this value back into an HTML template to make a whole document, but it seems like I shouldn't have to.
Is there any way to get the complete HTML document from the Editor on the server side?
Problem is, what I get back is a fragment of the original document I started with. I get an HTML-commented DOCTYPE, an empty STYLE node, then everything that was inside the BODY tag. Yes, I could re-insert this value back into an HTML template to make a whole document, but it seems like I shouldn't have to.
Is there any way to get the complete HTML document from the Editor on the server side?