Skip to content

Commit

Permalink
Merge commit '9e73a92ae0ccc72f19a4e6a1343fae94ab0a40ad'
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Jun 20, 2010
2 parents bd85d79 + 9e73a92 commit a345a3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/app.yml
Expand Up @@ -106,6 +106,9 @@ all:

TinyMCE:
label: TinyMCE Rich Text Editor
widget_options:
# allows tinymce to be seen as the current editor for inline object insertion
config: 'handle_event_callback : "sympalHandleTinyMCEEvent"'
filters: [inline_object]

# special slot type for "column" slots where the widget/validator
Expand Down
1 change: 1 addition & 0 deletions lib/plugins/sfSympalEditorPlugin/web/js/editor.js
Expand Up @@ -107,6 +107,7 @@ function sympalTinyMCETriggerSave()
tinyMCE.triggerSave();
}

// handles tinymce event callback, allows tinymce to be seen as the current editor
function sympalHandleTinyMCEEvent(e)
{
if (e.type == 'click')
Expand Down

0 comments on commit a345a3a

Please sign in to comment.