Skip to content

Commit

Permalink
Update page-previews.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pboivin authored Nov 25, 2024
1 parent b76eda8 commit 3ce3e78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/page-previews.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ public static function table(Table $table): Table
}
```

**Note**: `ListPreviewAction` does not support [Builder Previews](./builder-previews.md).

## Detecting the Preview Modal

The `EditPost` example above uses a dedicated Blade view to be rendered in the preview modal. It's also possible to use the same view for the site page and the preview modal. In this case, you can detect if the view is being used for a preview by checking for the `$isPeekPreviewModal` variable:
Expand Down

0 comments on commit 3ce3e78

Please sign in to comment.