Doesn't work with Dojo forms

  •  02-25-2009, 6:06 AM

    Doesn't work with Dojo forms

    I'm using cuteeditor with Dojo and I'm finding that the editor initialises ok, but once the dojo parser has done it's stuff it kills the content and renders the editor unusable - you can't type anything in and the buttons give an error.
     
    I've traced this down to the use of a dojo form.  So if the editor is in
     
    <form id="form_data" method='post' action="" dojoType="dijit.form.Form">

    editor

    </form
     
    it fails, but if you remove the dojotype it works fine.
     
    If the editor is embedded in other dojo containers such as a stack container for example, there is no problem.
     
    btw I know dojo provides a rich text editor, but it's nowhere near as comprehensive as cuteeditor.
     
    Regards
     
    Graham
View Complete Thread