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/actioncable-6.1.7.2/app/assets/javascripts
>>>
>>>
>>>   
>>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/activestorage-6.1.7.2/app/assets/javascripts
>>>
>>>
>>>   
>>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/actionview-6.1.7.2/lib/assets/compiled
>>>
>>>
>>>   
>>> /Users/dbulgatz/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/turbolinks-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/c63e8f00-0fe6-45f1-bddc-03381bfcd7cen%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/activescaffold/c63e8f00-0fe6-45f1-bddc-03381bfcd7cen%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/c8cac2df-fbc9-4276-878a-46cb97ad06d8n%40googlegroups.com.

Reply via email to