Sha256: 1e4fb141f2258a4bf2b5e50926d8ac54ee521889ba543b6fc8eb8404fd68d710

Contents?: true

Size: 273 Bytes

Versions: 9

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

module Archangel
  ##
  # WYSIWYG custom input for SimpleForm
  #
  class WysiwygInput < SimpleForm::Inputs::TextInput
    ##
    # Add `wysiwyg` as an HTML class
    #
    def input_html_classes
      super.push("wysiwyg")
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
archangel-0.4.0 app/inputs/archangel/wysiwyg_input.rb
archangel-0.3.0 app/inputs/archangel/wysiwyg_input.rb
archangel-0.0.8 app/inputs/archangel/wysiwyg_input.rb
archangel-0.0.7 app/inputs/archangel/wysiwyg_input.rb
archangel-0.0.6 app/inputs/archangel/wysiwyg_input.rb
archangel-0.0.5 app/inputs/archangel/wysiwyg_input.rb
archangel-0.0.4 app/inputs/archangel/wysiwyg_input.rb
archangel-0.0.3 app/inputs/archangel/wysiwyg_input.rb
archangel-0.0.2 app/inputs/archangel/wysiwyg_input.rb