Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

administrate-field-froala

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

administrate-field-froala

  • 0.1.4
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

Administrate::Field::Froala

Dependency Status

A plugin for adding Froala editor support in Administrate.

Usage

Add to your Gemfile:

gem "administrate-field-froala", "~> 0.1"

Run:

$ bundle install

Add to your FooDashboard:

ATTRIBUTE_TYPES = [
  description: Field::Froala,
]

In your application.js require and initialize the Froala editor (and plugins if needed):

//= require froala_editor.min.js

$(function () {
  // initialize Froala editor on all Froala fields (Field::Froala)
  $('.field-unit--froala textarea').froalaEditor();
});

Similarly require the stylesheets for Froala and it's plugins in your application.css:

/*
 *= require froala_editor.min.css
 *= require froala_style.min.css
 */

See wysiwyg-rails documentation for list of all available Froala plugins.

Administrate::Field::Froala is heavily inspired by (a.k.a. copied after) Administrate::Field::Ckeditor by Jemcode Limited.

FAQs

Package last updated on 12 Jul 2016

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