WYSIWYG Editor Template Issue

  •  06-05-2009, 3:28 PM

    WYSIWYG Editor Template Issue

    Hello,
     
    I am experiencing a problem which I am unable to show you proof by reproducing the problem using your examples as the problem appears to only show up on the server side.
     
    Basically here is the issue:
     
    I have created a project which loads html files from a custom template browser prior to loading the WYSIWYG. This function works perfectly as the template is loaded directly into the WYSIWYG editor prior to displaying it. When I click on save, all information inside the editor shows up properly in the $_POST variable. <<----  WORKS
     
    Also included in this project is the ability to use your built-in template browser (for after the WYSIWYG editor has been loaded). The templates appear to load properly when you choose one using the template browser, as they show inside the WYSIWYG editor perfectly. However, when I click on save (which is posting to the EXACT same page above, and the editor is also using the exact same code to be drawn), the template data does not show up properly in the $_POST variable. Instead, it appears to be submitting a very simplified piece of HTML code as follows:
     
     <html><head></head><body linkifying="true" style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><br /></body></html>
     
    As you can see, this is a bit of a problem. Can you please offer a solution, as the server side and client side literally have no change between the two examples.

     

    Custom Software Developent at MicroVB INC
View Complete Thread