Sha256: 7a0f4318593fdf51a498adf4caf8fe656d92d76a1863f88c41bc6b468d952e97

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 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(string)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bullet_train-fields-1.0.6 app/helpers/fields/trix_editor_helper.rb