Gutenberg 3.0.1がリリースされました


What’s new in Gutenberg? (5th June)

ブロックのリストの中身が変わっている!が、惜しいなー、よく使うブロック(Most Block)と共通ブロックのリストは被ってほしくないなあ…。でも改善されてて使い勝手がまたあがっています。



The editor has had support for nesting blocks since around the beginning of this year. With 3.0, a block author can now also register a block as being a child of another block by declaring parent: [ 'block-name' ]. This now causes a few changes in the interface: the root inserter won’t show child blocks unless the user is within the context of the right parent block. (It aims to reduce the amounts of blocks shown at any given time by making the inserter more contextual.)
Note that for a block to be effectively a child two conditions must apply:
The block must provide a valid parent property.
The parent must have an InnerBlocks area declared.




メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

This site uses Akismet to reduce spam. Learn how your comment data is processed.