Skip to content

Commit

Permalink
Removed copied over CSS, added better configuration to page list item…
Browse files Browse the repository at this point in the history
… json configuration.

Co-authored-by: Ben Dwyer <[email protected]>
  • Loading branch information
draganescu and scruffian committed Nov 25, 2022
1 parent 4f22049 commit 86d80e0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 83 deletions.
6 changes: 3 additions & 3 deletions docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,11 +433,11 @@ Display a list of all pages. ([Source](https://github.com/WordPress/gutenberg/tr

## Page List Item

Display a list of all pages. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/page-list-item))
Displays a page inside a list of all pages. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/page-list-item))

- **Name:** core/page-list-item
- **Category:** design
- **Supports:** ~~html~~, ~~lock~~, ~~reusable~~
- **Category:** widgets
- **Supports:** ~~html~~, ~~inserter~~, ~~lock~~, ~~reusable~~
- **Attributes:** hasChildren, id, label, link, title

## Paragraph
Expand Down
9 changes: 5 additions & 4 deletions packages/block-library/src/page-list-item/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"apiVersion": 2,
"name": "core/page-list-item",
"title": "Page List Item",
"category": "design",
"category": "widgets",
"parent": [ "core/page-list" ],
"description": "Display a list of all pages.",
"keywords": [ "menu", "navigation" ],
"description": "Displays a page inside a list of all pages.",
"keywords": [ "page", "menu", "navigation" ],
"textdomain": "default",
"attributes": {
"id": {
Expand Down Expand Up @@ -43,7 +43,8 @@
"supports": {
"reusable": false,
"html": false,
"lock": false
"lock": false,
"inserter": false
},
"editorStyle": "wp-block-page-list-editor",
"style": "wp-block-page-list"
Expand Down
59 changes: 0 additions & 59 deletions packages/block-library/src/page-list-item/editor.scss

This file was deleted.

17 changes: 0 additions & 17 deletions packages/block-library/src/page-list-item/style.scss

This file was deleted.

0 comments on commit 86d80e0

Please sign in to comment.