最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Where on Github, or elsewhere, can I find the code for core-blocks?

programmeradmin4浏览0评论

Apparently, at one time, there was a directory of core-blocks for building Gutenberg templates on GitHub, but I'm not finding it anywhere. I talking about core/paragraph, etc.

    array( 'core/paragraph', array(
        'placeholder' => 'Content goes here',
    ) ),
    array( 'core/image', array(
        ...

Thanks!

Apparently, at one time, there was a directory of core-blocks for building Gutenberg templates on GitHub, but I'm not finding it anywhere. I talking about core/paragraph, etc.

    array( 'core/paragraph', array(
        'placeholder' => 'Content goes here',
    ) ),
    array( 'core/image', array(
        ...

Thanks!

Share Improve this question asked Aug 17, 2020 at 19:11 breadwildbreadwild 3915 silver badges22 bronze badges 2
  • 1 Is this what you're looking for? github/WordPress/gutenberg/tree/master/packages/… – Pat J Commented Aug 17, 2020 at 19:37
  • 1 You should post that as an answer – Tom J Nowell Commented Aug 17, 2020 at 21:14
Add a comment  | 

1 Answer 1

Reset to default 8

The core blocks appear to be defined in the Gutenberg repository on Github, in the block-library package here: https://github/WordPress/gutenberg/tree/master/packages/block-library/src.

发布评论

评论列表(0)

  1. 暂无评论