Hi,
I've developed a plugin for old FCKEditor that uses the OnAfterLinkedFieldUpdate event to parse the final user text.
For example:
1 - User opens the page.
2 - User writes a text.
3 - User clicks on "submit".
4 - The OnAfterLinkedFieldUpdate event is fired.
5 - The listener function modifies the text.
6 - The modified text is submitted.
An example of the current code:
FCK.Events.AttachEvent('OnAfterLinkedFieldUpdate', function (editorInstance) { var form = editorInstance.GetParentForm(); form[editorInstance.Name].value = 'Hi everybody!' + form[editorInstance.Name].value; });
The problem is that OnAfterLinkedFieldUpdate is not defined on CKEditor. How can I modify the final user text? How can I capture the "submit" event of CKEditor and modify the user text?
EDIT: There is any list of CKEditor events? I've search it on the API reference (http://docs.cksource.com/ckeditor_api/), but I haven't found a complete list of available events.
Re: OnAfterLinkedFieldUpdate