Thanks for updating the doc! From: Sergio Cambra <[email protected]> Date: Monday, March 13, 2023 at 7:01 AM To: ActiveScaffold : Ruby on Rails Gem <[email protected]> Cc: Dennis Bulgatz <[email protected]> Subject: Re: TinyMCE not finding tiny-mce-jquery That doc is old, and never updated, but it was only a example, the valid settings should be check with tinymce docs. Anyway, I'm changing advanced to <theme_name> so it doesn't confuse other people.
El lunes, 13 de marzo de 2023 4:46:36 (CET) Dennis Bulgatz escribió: > The issue I had is that the example provided for how to configure the > tinymce options does not work > > https://github.com/activescaffold/active_scaffold/wiki/API:-Column > > active_scaffold :product do |conf| > conf.columns[:description_html].form_ui = :text_editor > conf.columns[:description_html].options = { :tinymce => { :theme => ' > *advanced*', :editor_css => '/product_editor.css' } } end > > 'advanced' is not a valid theme in the current code. A valid theme is > 'silver' > > here is what I am currently playing with for tinymce.yml > > toolbar: > - undo redo | formatselect | bold italic backcolor | alignleft > aligncenter alignright alignjustify | bullist numlist outdent indent > - image | link > plugins: > - image > - link > - lists > - advlist > - code > - autolink > - charmap > - fullscreen > *theme: silver* > > On Friday, March 10, 2023 at 1:49:26 PM UTC-6 [email protected] wrote: > > It's the only one integrated with AS. I don't know if there is any other > > which would be easy to integrate, it's the only one I have used with AS. > > > > El vie., 10 mar. 2023 19:09, Dennis Bulgatz <[email protected]> > > > > escribió: > >> Sergio, is TinyMCE the most common rich text editor? Or is there > >> something that is a better fit to integrate with AS? > >> > >> On Friday, March 10, 2023 at 1:47:33 AM UTC-6 Dennis Bulgatz wrote: > >>> Hi Sergio, > >>> > >>> I wanted to try out TinyMCE. But cannot find one of the needed assets > >>> tiny-mce-jquery. > >>> > >>> Do you know where the gem is supposed to put this file, and/or if there > >>> is someplace I need to add a search path? > >>> > >>> I tried the tutorial here > >>> <https://www.tiny.cloud/docs/tinymce/6/rails-third-party/> and had no > >>> issues getting a simple rails site to use TinyMCE > >>> > >>> Have you seen this before? > >>> > >>> Thanks for any suggestions you might have. > >>> > >>> rake aborted! > >>> > >>> Sprockets::FileNotFound: couldn't find file 'tinymce-jquery' with type > >>> 'application/javascript' > >>> > >>> Checked in these paths: > >>> /Users/dbulgatz/aramis2/aramis/app/assets/config > >>> > >>> /Users/dbulgatz/aramis2/aramis/app/assets/images > >>> > >>> /Users/dbulgatz/aramis2/aramis/app/assets/javascripts > >>> > >>> /Users/dbulgatz/aramis2/aramis/app/assets/stylesheets > >>> > >>> /Users/dbulgatz/aramis2/aramis/vendor/assets/javascripts > >>> > >>> /Users/dbulgatz/aramis2/aramis/vendor/assets/stylesheets > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/tinymce > >>> -rails-6.3.2/app/assets/javascripts > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/tinymce > >>> -rails-6.3.2/app/assets/source > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/tinymce > >>> -rails-6.3.2/vendor/assets/config > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/tinymce > >>> -rails-6.3.2/vendor/assets/javascripts > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/active_ > >>> scaffold_export-3.4.0/app/assets/images > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/active_ > >>> scaffold_export-3.4.0/app/assets/stylesheets > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/jquery- > >>> ui-rails-6.0.1/app/assets/images > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/jquery- > >>> ui-rails-6.0.1/app/assets/javascripts > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/jquery- > >>> ui-rails-6.0.1/app/assets/stylesheets > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/jquery- > >>> rails-4.5.1/vendor/assets/javascripts > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/active_ > >>> scaffold-3.6.17/app/assets/images > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/active_ > >>> scaffold-3.6.17/app/assets/javascripts > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/active_ > >>> scaffold-3.6.17/app/assets/stylesheets > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/active_ > >>> scaffold-3.6.17/vendor/assets/javascripts > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/active_ > >>> scaffold-3.6.17/vendor/assets/stylesheets > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/actionc > >>> able-6.1.7.2/app/assets/javascripts > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/actives > >>> torage-6.1.7.2/app/assets/javascripts > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/actionv > >>> iew-6.1.7.2/lib/assets/compiled > >>> > >>> > >>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/turboli > >>> nks-source-5.2.0/lib/assets/javascripts > >>> > >>> /Users/dbulgatz/aramis2/aramis/node_modules > >>> > >>> Tasks: TOP => assets:precompile > >>> > >>> (See full trace by running task with --trace) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/activescaffold/BN6PR19MB3169AB9C81342E162710EAA1F9BF9%40BN6PR19MB3169.namprd19.prod.outlook.com.
