Today is brought to you by....
TextileEditorHelper even though I had to then hack the helper to not overwrite the textarea class.
module ActionView::Helpers
module FormHelper
def textile_editor(object_name, method, options = {})
output = []
name = "#{object_name}[#{method}]"
output << text_area_tag(name, nil, options.merge(class: [options[:class], 'textile_editor'].reject(&:blank?).join(' ')))
output.join("\n").html_safe
end
end
end
Trying to work out why compressing jQuery in Rails 4 breaks IE8. Then realising.
jQuery 2.x has the same API as jQuery 1.x, but does not support Internet Explorer 6, 7, or 8.
and the BitMapCatNap