I am using monologue gem to mount a blog in existing rails application. It is working fine. But i need to embed audio and video content in tineMCE. For that we need to add media plugin as mentioned here. Initailly monologue only having "fullscreen" plugin. We can see that here. How can i add media plugin to the existing monologue configurations. ?
Asked
Active
Viewed 171 times
1 Answers
0
Search the monologue source code for the point where tinymce gets initiallized. tinymce.init
or mceAddControll
will be sufficient strings to search for.
when found you will find out if you are able to configure monologue to your needs or if you will have to hack the plugin list in the code.

Thariama
- 50,002
- 13
- 138
- 166
-
Thank you for your response. Do i need to check this file? https://github.com/jipiboily/monologue/blob/master/app/assets/javascripts/monologue/admin/tinymce-config.js ? Can i able to configure this from my rails app? – Raji May 02 '13 at 09:36
-
this is the correct file, you will eighter have to put the mediaplugin into the plugin list there or overwrite the whole tinymce setting BEFORE the file gets evaluated by the browser. I am not familiar with rails, but it looks like you cannot to this. – Thariama May 02 '13 at 10:43