From 0e90875feb76ee06c5026eaf452c92853911e372 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 30 Nov 2018 13:08:52 +0100 Subject: [PATCH] Set document title for preview interstitial --- packages/editor/src/components/post-preview-button/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/editor/src/components/post-preview-button/index.js b/packages/editor/src/components/post-preview-button/index.js index 5c31e9e271de8f..b735ebcd5324ed 100644 --- a/packages/editor/src/components/post-preview-button/index.js +++ b/packages/editor/src/components/post-preview-button/index.js @@ -80,6 +80,7 @@ function writeInterstitialMessage( targetDocument ) { `; targetDocument.write( markup ); + targetDocument.title = __( 'Generating preview…' ); targetDocument.close(); }