Ticket #2324 (reopened defect)

Opened 9 years ago

Last modified 9 years ago

Embedded TinyMCE compatibility

Reported by: gracinet Owned by: madarche
Priority: P2 Milestone: CPS 3.5.7
Component: CPSTramline Version: 3.5.1
Severity: major Keywords: Rich Text Editor RTE TinyMCE


There are some cases where the progress bar system used in CPSTramline (based on gp.fileupload) gets in the way of the update of a Text widget equipped with the TinyMCE rich text editor in embedded mode

Change History

comment:1 Changed 9 years ago by madarche

"gets in the way of the update": more concretely, what happens or what doesn't?

comment:2 Changed 9 years ago by madarche

TinyMCE exists in a JQuery version:  http://tinymce.moxiecode.com/tryit/jquery_version.php

So depending on the case it might be an option to use it.

comment:3 Changed 9 years ago by gracinet

It looks as if gp.fileupload did the submission before tinymce's update of the textarea element from the iframe. The best solution would be to control the hooking on the buttons click events, to have gp.fileupload take the payload after tinymce.

gp.fileupload makes the submission from a hidden iframe and displays the progress bar in the main document.

comment:4 Changed 9 years ago by madarche

  • Status changed from new to assigned
  • Owner changed from gracinet to madarche

comment:5 Changed 9 years ago by madarche

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:6 Changed 9 years ago by gracinet

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from CPS 3.5.2 to CPS 3.5.3

Actually, previous fix had an unwanted side effect : disabling the progress bar altogether. The situation is much more complicated than that, and looks as a major incompatibility between jquery.fileupload and jQuery. Maybe switching tiny mce to the jQuery variant would help. Reporting upstream to Gawel, won't harm either.

In the meanwhile, I've disabled (cleanly) the progress bar in the case where tinyMCE is also loaded.

CPS 3.5.2 can live without that, although that's a bit disappointing.

Note: See TracTickets for help on using tickets.