It is an intranet app, but I could probably figure something out. It
works in FF, but not IE 6. If I load with ajax, then do a plain
submit, it works. If I submit with the form plugin, I get just plain
text with no formatting. I'm using fckeditor 2.4.3, latest jquery and
form plugin.

Thank you for your help.

On Jul 27, 4:59 pm, "Diego A." <[EMAIL PROTECTED]> wrote:
> I can't understand why this would happen.
> The plugin doesn't tamper with the code at all.
> Do you have a URL?
>
> On 27/07/07, Shaun Kester <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > 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
>
> --
> Kind regards,
> Diego A.
> 07951 445 825
> [EMAIL PROTECTED]

Reply via email to