Skip to content

Commit

Permalink
Block Library: enable slash inserter for heading, list, and quote (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
gwwar committed Oct 6, 2021
1 parent 1b5ea0f commit 5c9e84d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/block-library/src/heading/block.json
Expand Up @@ -38,7 +38,8 @@
"__experimentalFontWeight": true
},
"__experimentalSelector": "h1,h2,h3,h4,h5,h6",
"__unstablePasteTextInline": true
"__unstablePasteTextInline": true,
"__experimentalSlashInserter": true
},
"editorStyle": "wp-block-heading-editor",
"style": "wp-block-heading"
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/list/block.json
Expand Up @@ -46,7 +46,8 @@
"link": true
},
"__unstablePasteTextInline": true,
"__experimentalSelector": "ol,ul"
"__experimentalSelector": "ol,ul",
"__experimentalSlashInserter": true
},
"editorStyle": "wp-block-list-editor",
"style": "wp-block-list"
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/quote/block.json
Expand Up @@ -27,7 +27,8 @@
}
},
"supports": {
"anchor": true
"anchor": true,
"__experimentalSlashInserter": true
},
"styles": [
{
Expand Down

0 comments on commit 5c9e84d

Please sign in to comment.