mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix API docs of ActionText::RichText
[ci skip]
This text should appear on the page
https://api.rubyonrails.org/v6.0/classes/ActionText/RichText.html
Related to 86517942e4
This commit is contained in:
parent
86517942e4
commit
78ed534f30
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# The RichText record holds the content produced by the Trix editor in a serialized `body` attribute.
|
||||
# It also holds all the references to the embedded files, which are stored using Active Storage.
|
||||
# This record is then associated with the Active Record model the application desires to have
|
||||
# rich text content using the `has_rich_text` class method.
|
||||
module ActionText
|
||||
# The RichText record holds the content produced by the Trix editor in a serialized `body` attribute.
|
||||
# It also holds all the references to the embedded files, which are stored using Active Storage.
|
||||
# This record is then associated with the Active Record model the application desires to have
|
||||
# rich text content using the `has_rich_text` class method.
|
||||
class RichText < ActiveRecord::Base
|
||||
self.table_name = "action_text_rich_texts"
|
||||
|
||||
|
|
Loading…
Reference in a new issue