Make rich_text searchable and renderable in pdf
This commit is contained in:
parent
6d3a269231
commit
879670983d
6 changed files with 26 additions and 5 deletions
7
app/models/action_text/rich_text.rb
Normal file
7
app/models/action_text/rich_text.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
module ActionText
|
||||
class RichText < Record
|
||||
before_save do
|
||||
self.body_text = body.to_plain_text
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue