I am trying to ask a question on Stack Overflow but the code snippet button is missing for some reason.
Expecting this
Currently Available
How can I bring back the code snippet?
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.
Sign up to join this communityI am trying to ask a question on Stack Overflow but the code snippet button is missing for some reason.
Expecting this
Currently Available
How can I bring back the code snippet?
Thanks for the report and patience! The fix for the missing Stack Snippets button (and semi-colon) has been deployed and is available throughout the network.
As we posted back in December 2021, we're moving our JS into Webpack bundles (albeit slower than anticipated) and the missing button for Stack Snippets was a result of migrating the JS for /questions/ask
. Our old design of JS communicated largely via global variables and a lot of magic, so it can be hard to find and test everything that is dependent on each other as was seen with this bug.
If anyone is wondering why we didn't post an announcement for this change, well... As mentioned in the original post, there are hundreds of files that need to be migrated and we wouldn't want to spam everyone with hundreds of changes. So please pardon the dust and continue report bugs as per usual!
<!-- begin snippet: js hide: false console: true babel: false --><!-- language: lang-js -->//<!-- end snippet -->