24
Improved preview options
Source: directus/directus#19044 · opened by @WoLfulus
Summary Would be nice to be able to provide additional interface elements (input, dropdowns, and things like this) to the preview window, or at least a way to implement extensions on top of it to add custom interface elements like these (+ being able to dispatch messages to the preview iframe): . I had to write a wrapping page + another iframe in order to switch between languages since what I'm previewing isn't an actual "page". I also had to workaround the state by persisting it into the local storage, because changing the item data will refresh the preview page url, thus removing the ?language=X I added myself to the preview window. Woul…
No pledges yet. Be the first to back this.
Comments
Similar requests
Live Preview option to automatically add a time-limited token to the query (incl. ENV vars)
18 votes · 0 comments
Postmessage based live-preview
20 votes · 0 comments
Save selected preview resolution
2 votes · 0 comments
Websocket based live-preview
35 votes · 0 comments
Auto-configure app CSP for configured Live Preview URL
1 vote · 0 comments
No comments yet.