mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
e76d4e1bcd
This includes: - Suggestion List: Check if a node exists to scroll into view. - Autocomplete: reset state for empty text. - Adds auxiliary class names for editor styles in the widgets editor. - Extract snackbars into a separate component. - Rich text: run input rules after composition end. - iframe: load inline styles. - Multi select: select all: restore ref callback. - Writing flow: allow select all from empty selection. - Post Excerpt: Fix excerpt_more filter conflict and remove wordCount attribute. - Add the percent unit to the default units in Core. Props desrosj. See #53397. Built from https://develop.svn.wordpress.org/trunk@51443 git-svn-id: http://core.svn.wordpress.org/trunk@51054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
35 lines
637 B
JSON
35 lines
637 B
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/post-excerpt",
|
|
"title": "Post Excerpt",
|
|
"category": "theme",
|
|
"description": "Display a post's excerpt.",
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"textAlign": {
|
|
"type": "string"
|
|
},
|
|
"moreText": {
|
|
"type": "string"
|
|
},
|
|
"showMoreOnNewLine": {
|
|
"type": "boolean",
|
|
"default": true
|
|
}
|
|
},
|
|
"usesContext": [ "postId", "postType", "queryId" ],
|
|
"supports": {
|
|
"html": false,
|
|
"color": {
|
|
"gradients": true,
|
|
"link": true
|
|
},
|
|
"typography": {
|
|
"fontSize": true,
|
|
"lineHeight": true
|
|
}
|
|
},
|
|
"editorStyle": "wp-block-post-excerpt-editor",
|
|
"style": "wp-block-post-excerpt"
|
|
}
|