Opened 4 weeks ago
Closed 4 weeks ago
#8014 closed defect (bug) (fixed)
block configuration object link shows Page not found
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Handbooks | Keywords: | |
Cc: |
Description
While I am browsing the Block API Reference - Transforms, under Shortcode->attributes section, [block configuration object]https://developer.wordpress.org/block-editor/reference-guides/block-api/block-transforms/block-registration.md link is redirecting us to a not found page.
Attachments (1)
Change History (4)
#1
@
4 weeks ago
- Component changed from API to Handbooks
- Owner set to dd32
- Status changed from new to accepted
#2
@
4 weeks ago
After looking at the markdown importers, it's not entirely easy to fix this properly, without a lot more work.
I've PR'd Gutenberg docs to fix the three links instead for now:
https://github.com/WordPress/gutenberg/pull/70473
#3
@
4 weeks ago
- Resolution set to fixed
- Status changed from accepted to closed
https://github.com/WordPress/gutenberg/pull/70473 has been merged, and these links have been fixed.
Note: See
TracTickets for help on using
tickets.
Thanks for reporting this @opurockey, the rest of this comment is me documenting the where/how/why of the brokenness.
Direct link to broken link:
https://developer.wordpress.org/block-editor/reference-guides/block-api/block-transforms/#shortcode:~:text=attributes%20(object%2C%20optional)%3A%20object%20representing%20where%20the%20block%20attributes%20should%20be%20sourced%20from%2C%20according%20to%20the%20attributes%20shape%20defined%20by%20the%20block%20configuration%20object.
Source in Gutenberg handbook:
https://github.com/WordPress/gutenberg/blob/eb82aa70c00768f5f64770cc702fd3735cc03878/docs/reference-guides/block-api/block-transforms.md?plain=1#L274
Looks like the
./
syntax in the link not being transformed:which is why it's directing to the incorrect page.