显示用于评论分页的页码列表。
块关系
父级块(直接):
– core/comments-pagination
属性
通过 block.json 中的 attributes 属性定义。
此块没有自定义属性。
支持
通过 block.json 中的 supports 属性定义。
anchor:truereusable:falsehtml:falsebackground:gradients:true
color:typography:fontSize:truelineHeight:true
interactivity:clientNavigation:true
spacing:margin:truepadding:true
上下文
通过 block.json 中的 usesContext 和 providesContext 属性定义。
使用的上下文:
postId
块标记
这是一个 动态块。它在服务器上渲染,不会将 HTML 保存到文章内容中。
在文章内容中,它存储为块注释:
<!-- wp:comments-pagination-numbers /-->
来源
- block.json (参考)
- 源代码目录 — 浏览
edit和save源文件、index.php等。