Sha256: f341d1cd25bc331ca7ca58ebe9fcefeac2df007d66e7b375dbe78ce12c99171a

Contents?: true

Size: 398 Bytes

Versions: 10

Compression:

Stored size: 398 Bytes

Contents

module Fields::TrixEditorHelper
  TEMPORARY_REPLACEMENT = "https://temp.bullettrain.co/"

  # TODO We should migrate away from this, but I think we'll need to update Super Scaffolding.
  def trix_sanitize(html)
    html_sanitize(html)
  end

  # TODO Confirm there are no references to this anywhere (in other repositories) and remove it.
  def trix_content(body)
    html_sanitize(body)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bullet_train-fields-1.0.19 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.18 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.17 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.15 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.14 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.13 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.12 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.10 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.8 app/helpers/fields/trix_editor_helper.rb
bullet_train-fields-1.0.7 app/helpers/fields/trix_editor_helper.rb