refactor(export): remove old formatting code from champs
This commit is contained in:
parent
99834e0cf5
commit
371b8b0b46
22 changed files with 1 additions and 373 deletions
|
@ -1,8 +1,4 @@
|
|||
class Champs::TextareaChamp < Champs::TextChamp
|
||||
def for_export(path = :value)
|
||||
value.present? ? ActionView::Base.full_sanitizer.sanitize(value) : nil
|
||||
end
|
||||
|
||||
def remaining_characters
|
||||
character_limit_base - character_count if character_count >= character_limit_threshold_75
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue