Questions tagged [editor]
The standard editor used to enter Stack Exchange posts, which supports a live preview of Markdown syntax.
222
questions
3
votes
0
answers
96
views
Code format button in editor doesn't work on iPad
Often on my iPad, when I tap the {} code icon to enclose text in a code block, nothing happens.
Can the Stack Overflow team remedy this?
I'm using Native iOS Safari version 15.4.1 (on an iPad Pro 11 ...
22
votes
2
answers
770
views
Backspace character (^H, U+0008) is displayed in preview, disappears when rendered on the actual page
Question: How to use '\b' with fmt.Println()?
The expected output as shown in the edit section:
Actual output:
Note the missing boxes (representing an unknown character?)
2
votes
2
answers
194
views
Typing out nicely formatted code on a cellphone is a far more awkward experience on the responsive UI than the old mobile site was
The box I'm typing in right now, on my iPhone 11 mini, seems to be 36 characters wide before it wraps. That's less than half the width of a 1970s punch card; I think it's fair to say writing code into ...
13
votes
0
answers
202
views
Double revert when pressing `Ctrl`+`Z` after pasting in an answer field. Pasting something is a forgotten step so that two steps get reverted
The other question, Why is the undo operation in text boxes so coarse-grained?, is in its core about the entered text "in a row" (though it also mentions pasting, but it does not show its ...
16
votes
0
answers
123
views
The Stack Snippets feature does not meet accessibility guidelines, and the editor is confusing with a keyboard
It's hard to navigate the posting process while only using a keyboard, and it's impossible if you're trying to use a Stack Snippet. Note: Not only do visually impaired users rely on the keyboard to ...
6
votes
0
answers
47
views
Regrouping the two code code insertion icons for clarity when asking a question [duplicate]
As part of my interaction design studies, we analyzed Stack Overflow. Thereby I saw that many users mix up both icons used to insert code.
When they are asking to insert a runnable code snippet, they ...
2
votes
0
answers
73
views
Broken editor and `code` in SO posts (Firefox) [duplicate]
It appears that the editor is somehow broken in Firefox. Or is it only me?
First noticed in this post Clean up working copy which has a deleted file
But now here is what I see when composing this post:...
3
votes
0
answers
97
views
Multiple programming languages answer structure [duplicate]
As an iOS developer, I see a lot of old answers in Objective-C, often accompanied with new Swift version, which may be in many different Swift versions too (Swift 2, Swift 3, etc.)
I'm sure this is ...
9
votes
0
answers
146
views
Possible bug with Home key in editor
I'm not totally sure if this is a bug, or 'as designed', but I noticed tonight, while I was posting a question, that if I push the Home key while on an empty line, in the editor, my cursor gets moved ...
2
votes
0
answers
54
views
Table rendering in editor, but not in question [duplicate]
I found this question. Their Markdown table does not render as a table on the question. I went to edit it, but in the editor, it renders fine! (While writing this post, the author commented, reporting ...
5
votes
0
answers
63
views
URL rendering bug in answer editor
Reproduce by clicking the edit link under https://stackoverflow.com/a/66326205/2943403.
Notice that in the rendered view of my answer, the link to another SO answer is a clickable hyperlink, but after ...
2
votes
0
answers
97
views
User setting to allow disable Esc key on snippet editor? It causes an infinite popup loop [duplicate]
When I'm writing code on my editor and I need to skip or close IntelliSense suggestions, I press the Esc key in order to keep writing freely. So, I've got this habit of writing some stuff and ...
8
votes
0
answers
140
views
Extra line breaks added when editing with Edge
When editing questions or answers with Microsoft Edge, I see every line break doubled:
Edit with Google Chrome (Version 87.0.4280.66):
Edit with Microsoft Edge (Microsoft Edge 44.17763.831.0):
Note ...
25
votes
0
answers
113
views
Should the pastebin link warning suggest using code fences instead of indented code blocks?
When editing a question with a pastebin.com link without accompanying code (e.g. How do I create tileable solid noise?), a warning is displayed saying that the link needs to be accompanied by code:
...
11
votes
0
answers
95
views
Make the colors in the tag editor match the actual tag colors on Meta sites
In the posting view, or the edit view, its color is like this:
But in the post view, its color is like this (this is another question):
Why are the colors different? Can we change them to the same ...
9
votes
1
answer
95
views
Different table formatting in editor and outside
I came across this badly formatted answer and wanted to edit it to correct the formatting.
The table formatting is messed as can be seen:
However when I click edit, formatting is OK:
Is there ...
3
votes
0
answers
37
views
Bug? Consecutive URLs point to different URL in edit vs view mode [duplicate]
Looking at https://stackoverflow.com/a/1768114/14731, if you hover the mouse over the 4 hyperlinks at the top of the answer they all map to https://www.amazon.com/dp/B0015T963C but if you edit the ...
9
votes
0
answers
99
views
Inconsistency between preview and actual snippet when adding quotes
I'm trying to add a "quote" snippet to an existing answer. When I view this in Edit it look like this:
When I click "Save edits" it looks like this:
8
votes
1
answer
233
views
Syntax highlight apparently broken in edit preview and suggested edits queue
I think currently syntax highlight is broken for edit preview and the suggested edit review queue.
This is the case for the majority of posts I've seen, it seems the exception are code fences with a ...
1
vote
0
answers
84
views
Can't interact with confirmed public question
Click to ask a question, fill all the available boxes, click outside the boxes, change tab or close Chrome and leave it like that for a few minutes.
If you do that and come back to it, then it won't ...
2
votes
0
answers
48
views
Expand the editor default height [duplicate]
I don't understand why Stack won't expand the editor more. I know we can grab the handle and expand the height of this editor but it's painful...because the default is so short I find myself doing it ...
-1
votes
1
answer
109
views
How to report a bug in a question?
When I find a bug in the SO editor, how would I inform about it?
Because it is not a question, just a bug report, like an issue on github. I simply want to reach the development team and the members ...
7
votes
0
answers
56
views
Don't rerender the post when the "show preview" has been toggled off
The problem:
I often have to edit some of my answers or others' with my quite low-end mobile-phone and on long posts with a few Stack-Snippets, re-rendering the preview can take seconds.
This re-...
3
votes
0
answers
69
views
Disable title filter when editing questions [duplicate]
I just came across a question that had a dead link in it. I had tried to edit the question but the system didn't accept the change:
Since I haven't changed the title it makes little to no sense to ...
6
votes
0
answers
85
views
Preview does not render code blocks as code if they contain a paragraph separator (unicode decimal 8233, hex 2029)
If you edit this question, you'll see the problem.
Here's a code block with a paragraph separator char between "foo" and "bar":
var str = "foo
bar"
var also = "other lines"
The above line renders ...
2
votes
1
answer
86
views
How could I disable keybindings when writing Q&A on Stack Overflow? [duplicate]
I am using Ctrl + k to kill a line from the current point in a shell and all text editors.
When I do Ctrl + k in order to delete a line while typing a question or answer on Stack Overflow, I ...
-13
votes
2
answers
181
views
Comment for moderators and editors only
Is there a way to add information to a question without it being viewable. I. E. Is it possible to have text that will only show when you go to edit a question? So essentially it functions like the % ...
2
votes
0
answers
46
views
Embedding an image from a linked URL in the editor does not show the image [closed]
I was trying to edit this question where the image that the OP tried to use to show something, does not show up in both the preview and after being inserted in their post.
They made an edit to the ...
19
votes
1
answer
186
views
Inline editor is no longer available: cannot exit out of edit mode with ESC or by clicking the question title
Like the title suggests; I have noticed today that the ESCape key (on my keyboard) no longer exits a question when wanting to not save something in edit mode.
Plus, the question title that used to be ...
4
votes
0
answers
71
views
Markdown editor treats 3 links in consecutive rows as code
See the pictures below for reference. I did go through https://stackoverflow.com/editing-help but it is the same with double spaces after the lines, even with different link formats.
The only way to ...
2
votes
0
answers
51
views
C++ syntax highlighting doesn't understand raw string literals [duplicate]
In C++, one can define a raw string literal:
auto str = R"({"value": 42})"; // str is `{"value": 42}`
Unfortunately, on the main site, the syntax highlighting looks like:
It should look like:
It ...
6
votes
0
answers
80
views
Text drag-n-drop is broken
Usually when writing a text I can drag-n-drop selected text inside of the field or to the other field. But in case of question field I can't:
Note that it works fine with title:
3
votes
0
answers
91
views
Feedback on the new ask question page - Formatting suggestions
I think you guys did a great job with the re-design of the ask question page. However there is this bit that I find can be improved.
There are currently three (or even 4) ways to format code:
...
5
votes
0
answers
165
views
Prompt new users to try Stack Snippets
I've been using SO for a fair while now and only just learned today about how to make Stack Snippets. My initial impression was that code entered into a message/post would automatically become a ...
3
votes
0
answers
59
views
Save snippet button sometimes throws an error [duplicate]
The Save & insert into post button in Stack Snippets sometimes throws an error and the popup doesn't close.
Uncaught TypeError: Cannot read property 'save' of undefined
When I refresh the ...
4
votes
1
answer
49
views
Can't insert spaces for code block, get a newline instead [duplicate]
So I came across the following question:
I have XML file that store string which located in local c inside server and I want every different project to access and read the XML file. At the same ...
104
votes
2
answers
2k
views
Stack Overflow won't work on Chrome 77 for Mac because of text substitution support
Chrome is adding support for the highly requested Mac text substitution feature where in the OS automatically converts smart quotes in input and textarea fields like:
printf("hello world\n");
into:
...
47
votes
0
answers
670
views
Pressing the quote button destroys text in code fences
Let's say I want to quote this shell code in a post:
foo=bar
echo $foo
First I put it in code fences so it shows up as code:
```sh
foo=bar
echo $foo
```
Then to quote it, I select it and either ...
3
votes
0
answers
70
views
What is the benefit of focusing on the "body" textarea when clicking on a question preview?
Maybe I'm weird, but I seem to run into this all the time when creating questions.
Say I'm typing a long question, and I'm proof-reading it and I click or double-click some of the text in the ...
-24
votes
1
answer
224
views
Why does Stack Overflow create imgur images when you copy paste from excel? [duplicate]
Imgur images can't be easily reproduced and make it harder to answer questions, this shouldn't be a feature by default.
14
votes
1
answer
370
views
Can't add a tag to an existing question?
When trying to add a tag to an existing question, after saving the changes, nothing happens. Is this a bug? If not, why is there no message?
-17
votes
2
answers
410
views
Mermaid diagrams markup extension
As an architect, I meandered last few years from one to another "graph as a markup" solution. Until I found Mermaid.
Very often diagram is the best way to explain some question or give an non trivial ...
-20
votes
1
answer
495
views
I have this error message when I try to write a code in Stack Overflow [duplicate]
"Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut. For more editing help, ...
3
votes
0
answers
100
views
Blockwise indentation [duplicate]
When I paste code into the text editor, sometimes I have to indent multiple lines to make it look well. So I start to hit the space bar multiple times for each code line until the code is formatted ...
19
votes
0
answers
269
views
Ambiguous wording in the help section for mentioning tags in the editor
I personally found the first paragraph confusing until I read the second one.
I think it should read To talk about a tag on Stack Overflow, ... instead.
https://meta.stackoverflow.com/editing-help#...
13
votes
0
answers
432
views
Possible bug in Stack Overflow: editor not showing any functional options to format question [closed]
Please take a look at the picture below:
I've tried clearing my browser's cache and history as well as restarting my browser, but the editor still doesn't show anything. I use Firefox. The editor ...
3
votes
0
answers
225
views
The edit control in Microsoft Edge is auto capitalizing the letter i
I'm typing this question in Edge. Let's say I want to express this as a line of code in a question or answer
int i = 42;
When I actually type into the edit window, the lone letter i in that ...
-10
votes
1
answer
126
views
Don't allow "enter" to submit an edit when the Title field is selected
To preface, I am aware that there is a bug report for this feature, and it has been marked as status-bydesign.
I am raising a feature request as this has snagged me on more than one occasion - I am ...
21
votes
2
answers
863
views
Copy/paste from Microsoft Word triggers image upload
As you can see in the following screencast, I copy some text from a Microsoft Word document. When I paste it into the editor, it is as if I had clicked on the "image" button:
Steps to reproduce
...
2
votes
0
answers
54
views
Make the 'How to Format' box sticky/persistent
I was just writing a question and could not remember how to quote something. I did remember there usually is a box on the right giving me hints for things like this. The box wasn't visible however, ...