You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you load the demo content and press Preview before the content has saved, you get an empty new tab on the URL about:blank, which sits there for a few seconds, and then it redirects you to the preview.
What happens in the background is that as soon as you press preview, we actually do save the content, but we also open the browser tab where the preview will eventually load.
The wait period is a bit jarring, though:
It would be nice if instead of loading about:blank, we could load something else, an intermediate page that says "Preparing your preview" or something. Doesn't have to be complex, can be a completely white page with the text centered.
The text was updated successfully, but these errors were encountered:
Popup windows can only be opened in response to user interaction. Therefore, we must open the popup as soon as the user clicks Preview, otherwise we won't be permitted to do so later (can't perform the save in the editor first before showing).
The process is:
User clicks Preview
Popup window is opened to blank page
Post is saved
After post finishes saving, blank page is redirected to preview
While we could direct the user to another page, since there'd be a load time associated with this, another option might be to write directly to the blank page with our intermediate messaging.
Issue Overview
If you load the demo content and press Preview before the content has saved, you get an empty new tab on the URL
about:blank
, which sits there for a few seconds, and then it redirects you to the preview.What happens in the background is that as soon as you press preview, we actually do save the content, but we also open the browser tab where the preview will eventually load.
The wait period is a bit jarring, though:
It would be nice if instead of loading
about:blank
, we could load something else, an intermediate page that says "Preparing your preview" or something. Doesn't have to be complex, can be a completely white page with the text centered.The text was updated successfully, but these errors were encountered: