Sha256: cd6d9181133aac59d73fe4171ff3e2731571cfc1aa3be25825740c18ad7cad5d

Contents?: true

Size: 366 Bytes

Versions: 17

Compression:

Stored size: 366 Bytes

Contents

module EffectiveEditorHelper

  def effective_editor_tag(delta)
    input_js = { method_name: 'effective_editor_tag', theme: 'snow', readOnly: true, modules: { toolbar: false } }

    content_tag(:div, '', id: "ql-#{delta.object_id}", class: 'effective_editor_content ql-effective', data: { 'input-js-options': input_js, 'delta': delta.presence || '{}'})
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
effective_bootstrap-0.2.1 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.2.0 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.12 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.11 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.10 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.9 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.8 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.7 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.6 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.5 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.4 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.3 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.2 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.1 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.1.0 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.0.29 app/helpers/effective_editor_helper.rb
effective_bootstrap-0.0.28 app/helpers/effective_editor_helper.rb