Skip to content

Commit

Permalink
docs: add Safari usage troubleshooting guide
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Apr 26, 2024
1 parent 85791e9 commit aa3735d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/1.docs/1.live-preview/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,17 @@ Now you see a rendering of the page content. It updates as you type:
Try navigating through the preview – if you click on a site link, such as in the header, the corresponding Panel page will open instead of the link in the preview.
For mor configuration options, see the [Configuration](/docs/live-preview/configuration) guide.
## Troubleshooting
### Live Preview Not Working in Safari
Due to security restrictions, Safari requires additional configuration to allow the Live Preview iframe to communicate with the Panel. To ensure the Live Preview works in Safari, add the following configuration to your `config.php`:

```php [config.php]
return [
'panel' => [
'frameAncestors' => ['self']
]
];
```

0 comments on commit aa3735d

Please sign in to comment.