Sha256: a545316065c6ceaa3ed099c48d9d4a1712ed27727ae116293270b17db165b93f
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true module BootstrapForm module Inputs module RichTextArea extend ActiveSupport::Concern include Base included do def rich_text_area_with_bootstrap(name, options={}) form_group_builder(name, options) do prepend_and_append_input(name, options) do options[:class] = safe_join(["trix-content", options[:class]].compact, " ") rich_text_area_without_bootstrap(name, options) end end end bootstrap_alias :rich_text_area end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_form-5.4.0 | lib/bootstrap_form/inputs/rich_text_area.rb |