Sha256: 00b2b92310f8295274d414fdc8235b431500376dd590a3716106736651623f78
Contents?: true
Size: 828 Bytes
Versions: 5
Compression:
Stored size: 828 Bytes
Contents
module Inputs module EffectiveCkeditorTextArea class Input < Effective::FormInput delegate :content_tag, :text_area_tag, :asset_path, :to => :@template def default_input_js { effective_assets: defined?(EffectiveAssets).present?, effective_ckeditor_js_path: asset_path('effective_ckeditor.js'), effective_ckeditor_css_path: asset_path('effective_ckeditor.css'), contentsCss: (options[:contentCss] || asset_path('application.css')), toolbar: options[:toolbar], height: options[:height], width: options[:width] }.compact end def default_input_html {class: 'effective_ckeditor_text_area text'} end def to_html text_area_tag(field_name, value, tag_options) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems