simsalabim/sisyphus — pull request #56 by TommiGustafsson (2013-03-12 08:38:51+00:00)
Title: Sisyphus CKEDITOR and TinyMCE integration

Hello!

I wrote some more code to the Sysiphus plugin, so that it can be integrated with CKEDITOR and TinyMCE and solved some bugs in the process as well. I added "use strict" declaration to the plugin.

# New features
onBeforeSave, onBeforeTextSave, and "textsave.sisyphus" events.

## onBeforeSave
onBeforeSave is triggered just before Save occurs. This can be set in options.

## onBeforeTextSave
onBeforeTextSave occurs just before text is saved by the immediate handler. This can be set in options.

## textsave.sisyphus jQuery event
Now you can trigger the immediate handler to save text through jQuery $("#textareaID").trigger("textsave.sisyphus"). This is used by integration as well.

## CKEDITOR and TinyMCE integration demos
The demos how to integerate Sysiphus with these two editors are available in the demo folder in the repository.

Best regards,
Tommi Gustafsson