New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

administrate-rich-text

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

administrate-rich-text

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

administrate-rich-text

A plugin for Rails 7+ to allow the use of ActionText rich_text_area fields in Administrate.

ActionTexct is based on the Trix WYSIWYG editor.

The Administrate field is compatible with Rails Active Storage, so Rails will seamlessly handle attachment storage in your Wysiwyg field.

Install

Add administrate-rich-textto your Gemfile:

gem 'administrate-rich-text'

Install:

$ bundle install

Add javascript and CSS files to the asset pipeline and manifest:

$ rails g admin:actiontext_assets

Usage

Add an ActionText rich_text_area field to app/dashboards/foo_dashboard.rb:

ATTRIBUTE_TYPES = {
  bar: Field::RichTextArea
}.freeze

FAQs

Package last updated on 04 Nov 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc