Thanks for your help. I have this:

                                                //Start the editor
                                                $(function(){
                                                         $.fck.start({
                                                         path: "fckeditor/",
                                                         Height: "300px",
                                                         Width: "400px",
                                                         ToolbarSet: "MyToolbar"
                                                         });
                                                });
                                                //Bind form
                                                $('#ItemSave').click(function(){
                                                        
$('#EditItem').ajaxSubmit({
                                                                url: 
'/Admin.scpc?&Prog=SaveItem&UserID='+$.cookie('scpc'),
                                                                dataType: 
'script'
                                                        });
                                                });

The server finally gets the content (ya!), but any formatting tags
like 'p' and 'strong' are gone. I get just the plain text.

On Jul 27, 12:26 pm, "Diego A." <[EMAIL PROTECTED]> wrote:
> $(function(){
>  $.fck.start({
>   path: "/path/to/fck/",
>   Height: "500px",
>   ToolbarSet: "Default",
>   Config: {
>    CustomConfigurationsPath: '/path/to/fck/custom.js'
>    /* and so on... */
>   }
>  });
>
> });
>
> On Jul 27, 7:59 pm, Shaun Kester <[EMAIL PROTECTED]> wrote:
>
> > How do I set the FCK options like width, toolbar, etc?
>
> > On Jul 27, 11:31 am, "Diego A." <[EMAIL PROTECTED]> wrote:
>
> > > Try my plugin:http://www.fyneworks.com/jquery/FCKEditor/
>
> > > On Jul 27, 6:53 pm, Shaun Kester <[EMAIL PROTECTED]> wrote:
>
> > > > Hi all,
>
> > > > I'm having a heck of a time getting either tinymce or fckeditor to
> > > > load via ajax and then be submitted with mikes awesome form plugin.
> > > > Anybody got these to successfully work? Here my code that loads and
> > > > binds the textarea and form.
>
> > > > function LoadFunctions() {
> > > >         
> > > > $("#Funcs").load('/Admin.scpc?&Prog=Funcs&UserId='+$.cookie('scpc')
> > > > +'&NoCache='+new Date().getTime(), function(data){
> > > >                 $('.FuncItems').click(function(){
> > > >                         
> > > > $("#FuncDetails").load('/Admin.scpc?&Prog=FuncDetails&Type='+$
> > > > (this).attr("rel")+'&UserId='+$.cookie('scpc')+'&NoCache='+new
> > > > Date().getTime(), function(data){
> > > >                                 $('.ItemList').click(function(){
> > > >                                         
> > > > $("#main").load('/Admin.scpc?&Prog=EditItem&Type='+$
> > > > (this).attr("rel")+'&ID='+$(this).attr("id")+'&UserId='+
> > > > $.cookie('scpc')+'&NoCache='+new Date().getTime(), function(data){
> > > >                                                 //Start the editor
>
> > > >                                                 //Bind form
> > > >                                                 
> > > > $('#EditItem').ajaxForm({
> > > >                                                         type: 'post',
> > > >                                                         beforeSubmit:  
> > > > getFCKRealContent,
> > > >                                                         url: 
> > > > '/Admin.scpc?&Prog=SaveItem&UserID='+$.cookie('scpc'),
> > > >                                                         dataType: 
> > > > 'script'
> > > >                                                 });
> > > >                                         });
> > > >                                 });
> > > >                         });
> > > >                 });
> > > >         });
>
> > > > }
>
> > > > TIA,
>
> > > > Shaun

Reply via email to