instance method visit_div

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

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

_node req
child_values req
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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close