Class: Components::RichText

Inherits:
Base
  • Object
show all
Defined in:
lib/backpack/components/rich_text.rb

Constant Summary

Constants included from Backpack::Attributes

Backpack::Attributes::HTMLAttribute, Backpack::Attributes::HTMLAttributes, Backpack::Attributes::MandatoryHTMLAttribute

Instance Method Summary collapse

Methods included from Backpack::Classes

#root_classes

Methods included from Backpack::Identifier

#identifier

Instance Method Details

#view_template(&block) ⇒ Object



6
7
8
# File 'lib/backpack/components/rich_text.rb', line 6

def view_template(&block)
  tag(@tag, **root_attributes, &block)
end