Sha256: e8cbb7a53b0f530a97c3a4ad26294395c5342c655ae3ba55605512633cb88945

Contents?: true

Size: 290 Bytes

Versions: 3

Compression:

Stored size: 290 Bytes

Contents

class ComfyPress::Tag::FieldRichText
  include ComfyPress::Tag
  
  def self.regex_tag_signature(identifier = nil)
    identifier ||= IDENTIFIER_REGEX
    /\{\{\s*cms:field:(#{identifier}):rich_text\s*?\}\}/
  end
  
  def content
    block.content
  end
  
  def render
    ''
  end
  
end

Version data entries

3 entries across 2 versions & 1 rubygems

Version Path
comfypress-0.1.4 db/lib/comfypress/tags/field_rich_text.rb
comfypress-0.1.4 lib/comfypress/tags/field_rich_text.rb
comfypress-0.1.3 lib/comfypress/tags/field_rich_text.rb