Hi!
I have an application that does use CE for the social networking part.
I have a couple of views with forms that would greatly benefit from a
rich text editor.
So far I have failed to reused the tiny_mce plugin that is included in
CE. I can override the CE tiny_mce with a stock installation of
tiny_mce but my logs are filled with errors about tiny_mce plugins not
being found:
ActionController::RoutingError (No route matches "/javascripts/
tiny_mce/plugins/curblyadvimage/editor_plugin.js" with
{:method=>:get}):
and all of CE's text_areas don’t show any editor controls so I can
have one or the other, editor in rest of app or in CE...
Q: How do I reuse the tiny_mce plugin from CE?
I have tried to include the following in my layout file:
<%= javascript_include_tiny_mce_if_used %>
<%= tiny_mce if using_tiny_mce? %>
but I get this error:
undefined local variable or method `include_tiny_mce_if_needed' for
#<ActionView::Base:0xb76dfd0>
so that does not work. I though I was clever and copied the plugin
from the CE sub-folder to the vendor/plugins folder but same error.
IS the a way to do this?
Cheers Juergen
--
You received this message because you are subscribed to the Google Groups
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/communityengine?hl=en.