torchbox / wagtail-headless-preview

Previews for headless Wagtail setups

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to replace the "View Draft" button to "Preview" in the page list?

diegoleft opened this issue · comments

"view draft" uses the same mechanism as preview under the hood, so you should be covered.
if you do want to change it, do look at https://docs.wagtail.io/en/stable/reference/hooks.html#construct_page_listing_buttons

Given this is a Wagtail core specific question, will close this issue.