Open timkelty opened 3 years ago
Go ahead, @timkelty, bump the Craft version to ^3.2.1 and use Request::getIsPreview()
.
@timkelty @ostark Hi! Just bumping this thread—was this solved in some other fashion? Happy to PR this, if it hasn't been tidied up just yet.
@taylordaughtry Looks like it hasn't! Send a PR over and I'll merge with a smile.
I think we just need to use
getIsPreview
instead: https://github.com/craftcms/cms/blob/develop/src/web/Request.php#L690