Permalink
Browse files

Merge commit '9e73a92ae0ccc72f19a4e6a1343fae94ab0a40ad'

  • Loading branch information...
2 parents bd85d79 + 9e73a92 commit a345a3a75fa7cfad2ad213f05b6c3372b396a2ac @weaverryan weaverryan committed Jun 20, 2010
Showing with 4 additions and 0 deletions.
  1. +3 −0 config/app.yml
  2. +1 −0 lib/plugins/sfSympalEditorPlugin/web/js/editor.js
View
@@ -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
@@ -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')

0 comments on commit a345a3a

Please sign in to comment.