Ticket #203 (closed Bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

Instert Template FireFox

Reported by: sstraakenbroek@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: WorksForMe Pending Cc:

Description

When you have a big template file (23000 characters) and you want too insert that template, I get an unresposive script error with FireFox 2.0.0.2. This goes both bad on Windows and Mac with FireFox. With IE it goes without any problem.

Attachments

template.html Download (31.1 KB) - added by sstraakenbroek@… 3 years ago.
Template
screenshot.jpg Download (41.7 KB) - added by sstraakenbroek@… 3 years ago.
Error screenshot
fcktemplates.xml Download (31.2 KB) - added by fredck 3 years ago.
Test Case Template defintion file

Change History

Changed 3 years ago by fredck

Can you attach the template to this ticket?

Changed 3 years ago by sstraakenbroek@…

Template

Changed 3 years ago by sstraakenbroek@…

Error screenshot

Changed 3 years ago by sstraakenbroek@…

After some testing around i found out that it goes bad on the following onclick function:

FCK.SetHTML

Changed 3 years ago by fredck

Test Case Template defintion file

Changed 3 years ago by fredck

  • keywords WorksForMe Pending added

I've just attached a test template definition file with your template. Just overwrite it in the FCKeditor directory.

It worked perfectly for me. The template insertion is almost immediate.

Do you have good results with it? If yes, please attach your XML file to this ticket. I believe there is something wrong there.

Changed 3 years ago by sstraakenbroek@…

Thanx for the template. I replaced it with the one i had but i still get an warning: unresponsive script on firefox.

If i uncheck the option: replace current content. Then it goes without any problem.

Changed 3 years ago by sstraakenbroek@…

I download a version of FCKeditor and put it on the server and tested it with you templates.xml and there i didn't get any error. So there must be something i did wrong while updating the fckeditor version.

Gonna do search differences.

Changed 3 years ago by sstraakenbroek@…

Ok, i think i know where the problem is.

When you are testing with a default FCKeditor version everything goes OK.

BUT if you are using full page editing. Then it goes wrong when inserting an template. Tested this on the clean version of FCKeditor with the option full page editing.

Changed 3 years ago by alfonsoml

I've tried that template with Firefox 2.0.0.3 Windows, using the current trunk of the Editor and sample 7 to use full page editing and didn't get any error.

I've tried both inserting or replacing the content and everything went fine.

Changed 3 years ago by YellowMind

With the newest version of FCKeditor is works perfect here. Don't know what it was but it works now.

Changed 3 years ago by fredck

  • status changed from new to closed
  • resolution set to worksforme
Note: See TracTickets for help on using tickets.