Unanswered Questions
165 questions with no upvoted or accepted answers
7
votes
1
answer
161
views
Error in Stack Snippets console has incorrect lineno and colno
When there is an error in the JavaScript code in a Stack Snippet:
asoidf
I find the error message quite unhelpful.
Error: {
"message": "ReferenceError: asoidf is not defined",
"...
6
votes
0
answers
68
views
Moderator Redaction flags does not display collapsed code snippets
The moderator redaction tool does not display the redacted diff if the redacted bit was in a collapsed code snippet, so we cannot see what was redacted for approval. There aren't any buttons to expand ...
6
votes
0
answers
51
views
"Show code snippet" underline looks buggy
The link shows broken underline in some zoom levels.
Post taken from this answer and I am using Firefox 79.0.
6
votes
0
answers
89
views
Stack snippet with React and other npm libraries
I read through this great answer that shows how to create a stack snippet with React and JSX in it, but of course I want more. I'm currently working on a project that uses React and other libraries ...
6
votes
0
answers
71
views
Snippet interface top padding
I'd seen snippet interface is updated and it looks good. But in case of snippet editor there is padding on each editor box it's really annoying.
It can be seen in the above image before the line ...
6
votes
0
answers
152
views
Copy stack snippet from jsfiddle
If the original poster creates their snippet on jsfiddle, I'll usually tweak it there until I get it working. But when I want to post an answer, I usually prefer to use a Stack Snippet. So I have to ...
6
votes
0
answers
132
views
Stack Snippet comments not showing up correctly when part of code
I'm trying add a "stack snippet starter pack" for tag wikis for specific libraries so there's a ready-to-go template when adding a tag that a user (or answerer) could copy and paste into their ...
6
votes
0
answers
199
views
Add resources to code snippet
The amazing Stack Snippet is intended for javascript, css, html and related libraries/frameworks. I love it.
But suppose you try to make an AJAX request, or an ng-include for instance. As the tool is ...
5
votes
0
answers
135
views
Show a warning when on Stack Snippets throwing errors
Tl;Dr: Make use of the Ask question warnings to reduce the misuse of Stack Snippets. Automatically run it in the background when the user click the "Review your questions button", if there ...
5
votes
0
answers
73
views
Full screen snippets has an incorrect z-index in post revisions
Example post with a snippet https://stackoverflow.com/posts/71191950/revisions
Click "Run code snippet" and then click the "Full page" link
The top bar, side bar, and post ...
5
votes
0
answers
103
views
Why does the Stack snippets console error not show the correct line number?
When there is an error in a Stack snippet JavaScript code, an error message is displayed, but the "lineno" in the message is incorrect.
In the following snippet, it Shows the error is on ...
5
votes
0
answers
173
views
Auto-save for Stack Overflow code-snippets (Stack Snippets)
I was editing a Stack Snippet and the page froze and I lost all my work (it was a lot).
Could there be some kind of autosave when editing code snippets? (the ones with HTML, CSS, and JS that you can ...
5
votes
0
answers
111
views
Bug (?) with stack-snippets within three backticks
First off: I'm not sure if that's actually a bug. Just seemed really odd.
I was reviewing some suggested edits and came across the following edit (which I rejected):
Then I decided to view the ...
5
votes
0
answers
106
views
Can't post edit with NULL (U+0000) character in Stack Snippet
When a Stack Snippet contains a NULL (U+0000) character in its body, various errors start to arise:
Automatic POST requests to /posts/validate-body return a 418 No Reason Phrase error.
Trying to run ...
5
votes
0
answers
69
views
Code Snippet - want to copy content with Shortcut CTRL-C (for external use)
Copying the code from the code snipptes is really annoying to select the right part of code (especially with long code parts with scrollbars) so it would be very helpful to have a shortcut like the ...