Something like:
It seems you are either opening the Playground in a standalone browser window, or Office.js is slow to load. Would you like to proceed to the editor as is (but you will not be able to run Office snippets)?
Choose your host, to load the appropriate templates:
Web, Excel, Word, OneNote
This will be particularly useful for the WAC editing scenario, to allow someone to open a full editor in one tab, and then their runner in another. And, of course, it will be helpful for trying out pure Web snippets.
When we eventually have Office.ready
, we'll be able to tweak the behavior so that instead of waiting 3 seconds, we are waiting for a definitive Office.ready
call. But the tweak will be very minor, and it's clear when Office.ready
will ship -- so we may as well do this now.
When a host is chosen, we should store it into SESSION storage, so that a subsequent load of the page in the same tab will not need to wait the 3 extra seconds.