instance method
visit_div
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
visit_div(_node, child_values)
Trix uses <div> as its default block element and represents newlines as
tags (see piece_view.js and block_view.js in the Trix source). Unlike <p>, we don’t append paragraph-separating newlines here because the
children already provide spacing.
Parameters
-
_nodereq -
child_valuesreq
Source
# File actiontext/lib/action_text/markdown_conversion.rb, line 193
def visit_div(_node, child_values)
join_children(child_values)
end
Defined in actiontext/lib/action_text/markdown_conversion.rb line 193
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::MarkdownConversion