Action Text

Action Text brings rich text content and editing to Rails. It includes the Trix editor that handles everything from formatting to links to quotes to lists to embedded images and galleries. The rich text content generated by the Trix editor is saved in its own RichText model that's associated with any existing Active Record model in the application. Any embedded images (or other attachments) are automatically stored using Active Storage and associated with the included RichText model.
  • 45min
  • 4 Episodes
  • 45min Remaining
45min Remaining
  1. Using Action Text in a Rails 5.2 Application
    Play
    7:28 CC

    #167 Jan 6, 2019

    With Rails 6.0 is around the corner, Action Text has been merged into the Rails repository. However, it can still be used on a Rails 5.2 application while we wait for its official release.
    • 7min
    • 11
    • 8

  2. Action Text Mentions and Notifications
    Play
    17:49

    #229 Feb 16, 2020

    In this episode, learn how to configure user mentions in Action Text with TributeJS and notify users whenever they are mentioned.
    • 17min
    • 7
    • 5

  3. Syntax Highlighting with Action Text
    Play
    10:36

    #231 Mar 1, 2020

    Set up Action Text with client side Syntax Highlighting using Highlight.js.
    • 10min
    • 2
    • 0

  4. Tracking Changes on Action Text
    Play
    9:49

    #245 Jun 7, 2020

    Without using any gems, we look at tracking changes within Action Text. It seems like a simple thing, but challenges arise through several layers of abstraction due to the flexibility that Action Text provides.
    • 9min
    • 8
    • 10