Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfeng33 committed Sep 2, 2024
1 parent 85c0089 commit 615f716
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/content/docs/block-selection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Block Selection
description: Select and manipulate entire text blocks.
---

<ComponentPreview name="playground-demo" id="blockselection" />
<ComponentPreview name="playground-demo" id="blockselection" scrollSelector="block-selection-plugin" />

<PackageInfo>

Expand Down
1 change: 1 addition & 0 deletions apps/www/src/registry/default/example/playground-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export const usePlaygroundEditor = (id: any = '', scrollSelector?: string) => {
// Functionality
AutoformatPlugin.configure({ options: autoformatOptions }),
BlockSelectionPlugin.configure({
enabled: !!scrollSelector,
options: {
areaOptions: {
boundaries: `#${scrollSelector}`,
Expand Down

0 comments on commit 615f716

Please sign in to comment.