Ticket #2319 (new defect)

Opened 8 years ago

Ajax edit and TinyMCE don't work together

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.7
Component: CPS (global) Version: 3.5.1
Severity: critical Keywords:
Cc:

Description

A document with ajax edit (meaning it has no file upload, and that is not so common) and a text widget with tinyMCE cannot be modified anymore.

It really seems as if the lib to serialize the form did not understand what is in TinyMCE: the result of the line below is always the content of the text widget before modification.

      // let's serialize the content of the form
      // and send it to the server
      params = Form.serialize(this.edit_form);

(from cpsdocument.js)

One must as least declare TinyMCE as "blocker" in the CPSDocumentEditor prototype class.

Note: See TracTickets for help on using tickets.