class Locomotive::Steam::Liquid::Tags::Editable::ShortText

Public Class Methods

new(tag_name, markup, options) click to toggle source
# File lib/locomotive/steam/liquid/tags/editable/text.rb, line 66
def initialize(tag_name, markup, options)
   Locomotive::Common::Logger.warn %(The "#{tag_name}" liquid tag is deprecated. Use "editable_text" instead.).yellow
  super
end

Public Instance Methods

default_element_attributes() click to toggle source
# File lib/locomotive/steam/liquid/tags/editable/text.rb, line 70
def default_element_attributes
  super.merge(format: 'raw', rows: 2, line_break: false, inline: true)
end