0.0
No commit activity in last 3 years
No release in over 3 years
Lite version of the ActionText.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

ActionText Lite

Lite version of the ActionText.

ActionText Lite 中文说明

Why use Lite version?

  • Action Text integration Trix by default, but that not useful, our users and editors does not like it 😩.
  • Active Storage as attachments, sometimes not the best choice, we need public image URLs, so we need CarrierWave.
  • Action Text has default HTML sanitize rules, but it too strict, we need text color, image width, and other style attributes... 🥺

Features

  • Same API with ActionText core features, just add Gem to use, no need change codes.🎊
  • Give you a clean rich text feature, there is no Trix, no complex HTML sanitize, no ActiveStoreage attachments.

Using

Add gem into your Gemfile:

gem "actiontext-lite"

Generate ActionText migrations:

🎁ActionText Lite used same table name action_text_rich_texts like ActionText, so it can be easily combined with existing ActionText projects.

$ rails action_text_lite:install