Questions tagged [stack-snippets]
Stack Snippets are runnable code sandboxes of the front-end languages HTML, CSS, and JS for use within a Stack Exchange post. Use this tag for bug reports, feature requests, and discussions explicitly relevant to these snippets and their underlying technologies.
503 questions
3
votes
0
answers
60
views
Browser stuck when editing answer (using rich text mode) [duplicate]
The browser tab completely stops working when I hit the edit button and even refreshing the tab does not make it work and you should force refresh the page.
Exact URL where this bug occurs:
https://...
4
votes
0
answers
63
views
StackSnippets refused to connect [duplicate]
I was reading the answer at https://stackoverflow.com/a/26502477/487813 and I clicked "run code snippet" and I got a generic browser
stacksnippets.net refused to connect.
Having a look at ...
23
votes
0
answers
293
views
JS snippets are not working on chromium browsers [closed]
Getting an error on Stack Overflow when running any snippet on chromium browsers (tested on chrome and edge) it is working on Firefox though.
(index):1 Refused to display 'https://stacksnippets.net/' ...
4
votes
0
answers
78
views
Answer edit with a snippet is pretty broken right now
Not really a question but what I consider a bug.
I nearly just gave up trying to add an answer it was so bad.
IDK what has happened to the snippet editor and answers but the usability of creating an ...
5
votes
0
answers
91
views
Behavior of "Copy snippet" button in threads with my question or my answer
In a thread with my question or my answer, the steps for copying an HTML/CSS/JS snippet are complicated (feature-request) and partially counterintuitive (bug, marked bold below):
Click "Copy&...
6
votes
0
answers
67
views
Why was the code snippet's Full page view removed? [duplicate]
There was a "button" at the upper-right corner of the snippet, that allowed to open and view the snippet on the entire browser window.
It was good to check the responsive aspect of the code....
11
votes
0
answers
86
views
Can you make snippet results larger [duplicate]
Since the new snippet has been implemented, you now can't see the snippet results full screen like you used to be able to - instead the expand button puts the full snippet (including the code) full ...
25
votes
0
answers
205
views
Stack snippets are missing the Fullscreen button
Stack snippets are missing the Fullscreen button, that shows the result in the full size of the page.
There is an "Expand" button, but that also shows the code (which most of the time then ...
6
votes
2
answers
279
views
How to ask a question that involves the loading of two HTML pages?
I'm facing an issue that can be reproduced when clicking a link on my HTML page that loads another HTML page (a standard a tag).
Of course I can insert a snippet inside the question, but I'm afraid it ...
28
votes
1
answer
701
views
Stack Snippets comes to Stacks Editor
Update June 5, 2025
Snippets is now live on Stacks Editor. While this integration was mainly for feature parity, we did make some improvements so that the feature would run smoothly with the new ...
5
votes
1
answer
224
views
Is there a beta version of Stack Snippet "leaking" into the site?
Where's the Stack Snippet Button?
At this particular post, the Stacks editor at the bottom didn't have a Stack Snippet button and its buttons were different, see Fig. 1 and compare it to Fig. 2 which ...
-10
votes
1
answer
167
views
Remove "Tidy" feature from Stack Snippets [duplicate]
The Stack Snippets editor includes a "Tidy" button. This button uses a outdated version of js-beautify which does not include support for syntax changes in ECMAScript 2020 and newer. Running ...
0
votes
0
answers
72
views
Warn about unsaved changes in code snippet
Context:
While writing a question or answer, an attempt to leave the page (by trying to close that browser tab or clicking on a link) triggers a confirmation dialog.
Moreover, returning to the same ...
15
votes
1
answer
140
views
Existing React Stack Snippets broken by update
The recent update to Stack Snippets breaks existing React snippets in posts. The Run code snippet button is there, but the snippet doesn't work anymore. (Related but different: Button to "Run ...
1
vote
0
answers
50
views
Problem with snippet in an answer I edited [duplicate]
I edited this answer (I made changes and added the snippet at the bottom)
Here is code of my revision.
After that, when I edit this answer I see a snippet that I can run:
But when I not in edit mode (...