Skip to content

Commit

Permalink
docs: document slate heading as anchor links in user-manual (#6750)
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Piercy <[email protected]>
  • Loading branch information
nileshgulia1 and stevepiercy authored Feb 14, 2025
1 parent 2599c72 commit 6155ad7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/_static/link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions docs/source/user-manual/blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ Almost all blocks have some configuration options.
To rearrange blocks, to the right of the block you want to move, click on its drag handle, move the block where you want it in the page, and release the drag handle.


(copy-anchor-links-label)=

### Copy Slate headings as anchor links

When you move your mouse over a heading, a link icon <img alt="Link icon" src="../../_static/link.svg" class="inline"> appears on the right side.
Click this icon to copy a direct link to that specific heading on the page onto your clipboard.

Now you can paste the copied link to share a specific section of a page with others.

```{note}
This feature is enabled by default, and only authenticated users can use this feature.
```


(delete-a-block-label)=

### Delete a block
Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/5755.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document Slate heading as anchor links in Volto blocks user manual. @nileshgulia1

0 comments on commit 6155ad7

Please sign in to comment.