Opened 16 months ago
Closed 16 months ago
#8014 closed defect (bug) (fixed)
block configuration object link shows Page not found
| Reported by: | opurockey | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| 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)
#2
@
16 months 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
@
16 months ago
- Resolution → fixed
- Status accepted → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.