pshoukry/tinymce-rails — comment on commit 4de9a4e9cfb6427324c003cf7e05b87ae0784ef1
File:  line 0
By hajrice:

Hi Peter,

Do you have any example code of how I could implement this?

I've added your repo as my main tiny_mce gem like this:

gem 'tinymce-rails', :git => "git://github.com/pshoukry/tinymce-rails"

And have activated the plugin in my app.js file, like so:

$('.wysiwyg_textarea').tinymce({
theme: 'advanced',
gecko_spellcheck: true,
plugins: 'uploadimage'
});

Tiny mce is turning up and all, just I don't see any upload image icon or anything like that. The scripts are also being loaded, from what I can see in my inspect element preview.

Any ideas?
Would love to hear how you implemented it – it'd really help!