Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
rails_admin
RailsAdmin extension for enabling the TinyMCE editor.
To enable rails_admin_tinymce, add the following to your Gemfile
:
gem 'rails_admin'
gem 'rails_admin_tinymce'
Then create config/tinymce.yml
according to step 2 of tinymce-rails' instructions.
Finally make sure the TinyMCE Javascript is loaded. That may differ depending on how you're using Javascript in Ruby on Rails.
Add to importmap.rails_admin.rb
:
pin 'tinymce'
pin 'tinymce.rails_admin'
Add to rails_admin.js
:
import 'tinymce';
import 'tinymce.rails_admin';
TODO
RailsAdmin.config do |config|
config.model Team do
edit do
field :description, :tinymce
end
end
end
Or, you can provide more options to customize:
RailsAdmin.config do |config|
config.model Team do
edit do
field :description, :tinymce do
# choose another configuration set from tinymce.yml
config 'alternate'
# or override specific options, see https://www.tiny.cloud/docs/tinymce/6/basic-setup/
options ({ plugins: [:image, :link] })
end
end
end
end
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that rails_admin_tinymce demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.