Using rails 4.2, tinymce-rails (4.1.6) and active_scaffold (3.4.18.1), in
order to get the tinymce bridge to work, I had to make the following
changes to active_scaffold:
In TinyMCE 4.x mceRemoveControl and mceAddControl have been removed.
Search and replace all occurrences with mceRemoveEditor and mceAddEditor
instead.
The standard theme is not part of the tinymce-rails gem.
In lib/active_scaffold/bridges/tiny_mce/helpers.rb, change line 18 :
settings = {:theme => 'standard'}.merge(column.options[:tinymce] ||
{})
to
settings = {:theme => 'modern'}.merge(column.options[:tinymce] ||
{})
On Saturday, November 29, 2014 at 9:43:04 PM UTC-5, Jason FB wrote:
>
> last time I tried that I had to create the bridge for it manually. Once I
> did it worked fine.
>
> -Jason
>
>
> On Nov 28, 2014, at 11:54 PM, Sergio Cambra <[email protected]
> <javascript:>> wrote:
>
> It's a long time since I have used tinymce with activescaffold. Can you
> describe the problem more?
>
>
> Is it an error displaying tinymce? saving data from tinymce? are you using
> a tinymce gem like tinymce-rails and what version?
>
>
> El Viernes, 28 de noviembre de 2014 06:30:20 Gloufy escribió:
>
> Hi,
> Since i pass to rails 4.1 from 3.2, tinymce doesn't work, i don't know
> why...
> Thanks for you help.
>
> Gloufy
> --
> You received this message because you are subscribed to the Google Groups
> "ActiveScaffold : Ruby on Rails Gem" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> Visit this group at http://groups.google.com/group/activescaffold.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "ActiveScaffold : Ruby on Rails Gem" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> Visit this group at http://groups.google.com/group/activescaffold.
> For more options, visit https://groups.google.com/d/optout.
>
>
> ----
>
> Jason Fleetwood-Boldt
> [email protected] <javascript:>
> http://www.jasonfleetwoodboldt.com/writing
>
> All material © Jason Fleetwood-Boldt 2014. Public conversations may be
> turned into blog posts (original poster information will be made
> anonymous). Email [email protected] <javascript:> with
> questions/concerns about this.
>
>
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.