Richer Text


RicherText Ruby Gem Changelog

This is the changelog for our Ruby Gem package. Are you looking for the JavaScript changelog?

main


0.17.0

class TextVisitor < RicherText::TextVisitor
  # ... your overridden methods here
end

# initializer somewhere
Rails.configuration.to_prepare do
  RicherText.default_renderer = HtmlVisitor.new  # if you had a HtmlVisitor also defined.
  RicherText.default_text_renderer = TextVisitor.new
end

0.16.0

– Use stable channel for installing RicherText.js


0.15.0


0.14.0

You can specify in an initializer default options to avoid needing to specify them on every form, and override them on a per form basis.

Rails.application.config.to_prepare do
  RicherText.default_form_options = {
    class: "min-h-[10rem]",
    callouts: true,
    tables: true,
    oembed: false
  }
end

0.13.0


0.10.0


0.9.0

0.8.0

To use:

  has_richer_text :body, store_as: :json
  
    <%= form.label :body %>
    <%= form.rhino_text_area :body %>
  

Requires users to manually install Rhino Editor’s JavaScript and CSS respectively first. Valid with Rhino Editor v0.8.4 or higher.

Attachment support for rendering is still a work in progress. Pull Requests are welcome!


0.7.0