a11yist/app/models/action_text/rich_text.rb
david 63fc206c27
Some checks failed
/ Run tests (push) Successful in 8m56s
/ Run system tests (push) Failing after 1h0m48s
/ Build, push and deploy image (push) Successful in 7m47s
A lot :)
2024-09-05 22:54:38 +02:00

9 lines
154 B
Ruby

# frozen_string_literal: true
module ActionText
class RichText < Record
before_save do
self.body_text = body.to_plain_text
end
end
end