This page was created for testing NorionRubyMapping. I thought this page was best suited to explain the append_child_block API, so I am presenting it as a use case.
append_block_chidren can be used to Page and Blockobject. In this callout, there are some examples for appending blocks to block. examples for appending blocks to page are described under the callout.
Append block children for Block
Here is a paragraph block for test of append block children for a block. This block is obtained as org_block as follows. Moreover, a test sub_block object is generated by Block.new.paragraph method.
From here, the code to create a block and its products are shown side by side. The each mention link of Block after “→” is the link to the method reference.
Here is a paragraph block for test of append block children for a block. This block is obtained as org_block as follows. Moreover, a test sub_block object is generated by Block.new.paragraph method.
Append block children for Page
Here is a page for test of append block children for a page. This page is obtained as org_page as follows. Moreover, a test sub_block object is generated by Block.new.paragraph method
From here, the code to create and its products are shown side by side. The each mention link of Block after “→” is the link to the method reference.