Class: TipTap::Nodes::HardBreak
- Inherits:
-
TipTap::Node
- Object
- TipTap::Node
- TipTap::Nodes::HardBreak
- Defined in:
- lib/tip_tap/nodes/hard_break.rb
Instance Attribute Summary
Attributes included from HtmlRenderable
Attributes included from HasContent
Instance Method Summary collapse
Methods included from PlainTextRenderable
Methods included from JsonRenderable
Methods included from HtmlRenderable
#html_class_name, #html_tag, included
Methods included from HasContent
#add_content, #blank?, #each, #find_node, included, #initialize, #size
Methods included from Registerable
Instance Method Details
#include_empty_content_in_json? ⇒ Boolean
10 11 12 |
# File 'lib/tip_tap/nodes/hard_break.rb', line 10 def include_empty_content_in_json? false end |
#to_html ⇒ Object
14 15 16 |
# File 'lib/tip_tap/nodes/hard_break.rb', line 14 def to_html tag.br end |