Sha256: d54f9ba13c94b6751e63fa8d11145173504837777b67f00c64441534cf0cf5ee

Contents?: true

Size: 260 Bytes

Versions: 12

Compression:

Stored size: 260 Bytes

Contents

class ComfortableMexicanSofa::Tag::PageRichText
  include ComfortableMexicanSofa::Tag
  
  def self.regex_tag_signature(label = nil)
    label ||= /[\w\-]+/
    /\{\{\s*cms:page:(#{label}):rich_text\s*\}\}/
  end
  
  def content
    block.content
  end
  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.5.11 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.10 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.9 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.8 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.7 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.6 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.5 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.4 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.3 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.2 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.1 lib/comfortable_mexican_sofa/tags/page_rich_text.rb
comfortable_mexican_sofa-1.5.0 lib/comfortable_mexican_sofa/tags/page_rich_text.rb