## Summary of bugs / feature requests posted as answers

Want to contribute? Great! But please read the notes at the bottom of the table first.

| Type | Summary | Status | GitHub |
| --- | --- | --- | --- |
| [tag:bug] | [License written in lower case](https://meta.stackexchange.com/a/380326/665544) | [tag:status-completed] |  |
| [tag:bug] | [Too much space between "Draft saved" / Community wiki checkbox and bottom edge](https://meta.stackexchange.com/a/380298/295232) | [tag:status-completed] |  |
| [tag:bug] | [Markdown display does not consider escaped \* or \_ when displaying text in italics](https://meta.stackexchange.com/a/380383/513150) | [tag:status-completed] | [#21](https://github.com/StackExchange/Stacks-Editor/issues/21) |
| [tag:bug] | [Preview does not support lang-\* notation for syntax highlighting specification](https://meta.stackexchange.com/a/380381/513150) | [tag:status-completed] | [#21](https://github.com/StackExchange/Stacks-Editor/issues/21) |
| [tag:bug] | [Headings are not always shown as headings in Markdown mode](https://meta.stackexchange.com/a/380339/295232) | [tag:status-completed] | [#21](https://github.com/StackExchange/Stacks-Editor/issues/21) |
| [tag:bug] | [Blank lines are removed when switching modes](https://meta.stackexchange.com/a/380413/665544) | [tag:status-completed] | [#152](https://github.com/StackExchange/Stacks-Editor/issues/152) |
| [tag:bug] | [Switching modes causes links to be sorted in wrong order](https://meta.stackexchange.com/a/380305/295232) | [tag:status-completed] | [#163](https://github.com/StackExchange/Stacks-Editor/issues/163) |
| [tag:bug] | [Inserting an image never works the first time](https://meta.stackexchange.com/a/380303/295232) | [tag:status-completed] | [#167](https://github.com/StackExchange/Stacks-Editor/issues/167) |
| [tag:bug] | [Switching modes combines adjacent code blocks added in rich text mode](https://meta.stackexchange.com/a/380302/295232) | [tag:status-completed] | [#168](https://github.com/StackExchange/Stacks-Editor/issues/168) |
| [tag:bug] | [Undo/redo buttons always look enabled](https://meta.stackexchange.com/a/380329/295232) | [tag:status-completed] | [#172](https://github.com/StackExchange/Stacks-Editor/issues/172) |
| [tag:bug] | [Bibliography style hyperlinked image Markdown is partially broken when toggling Markdown](https://meta.stackexchange.com/a/380380/513150) | [tag:status-completed] | [#188](https://github.com/StackExchange/Stacks-Editor/issues/188) |
| [tag:bug] | [No room for contents in the image uploader while editing on mobile](https://meta.stackexchange.com/a/380542/513150) | [tag:status-completed] | [#202](https://github.com/StackExchange/Stacks-Editor/issues/202) |
| [tag:bug] | [Misplaced link edit tooltip after cancelling](https://meta.stackexchange.com/a/380336/295232) | [tag:status-completed] | [#193](https://github.com/StackExchange/Stacks-Editor/issues/193) |
| [tag:bug] | [Bare links in a list (in the rich text view) are prefixed with a loading spinner on MSO](https://meta.stackexchange.com/a/380379/513150) | [tag:status-planned] |  |
| [tag:bug] | [Tag markup with disallowed characters is incorrectly rendered as a valid tag in the rich text view](https://meta.stackexchange.com/a/380509/513150) | [tag:status-planned] | [#201](https://github.com/StackExchange/Stacks-Editor/issues/201) |
| [tag:bug] | [Weird behaviour when using the inline code button multiple times](https://meta.stackexchange.com/a/380325/295232) | [tag:status-review] |  |
| [tag:bug] | [Weird behaviour with quotes and source fences](https://meta.stackexchange.com/a/380331/295232) | [tag:status-review] | [#70](https://github.com/StackExchange/Stacks-Editor/issues/70) |
| [tag:bug] | [Copying text from one list bullet to another inserts the pasted text as a new sub-bullet](https://meta.stackexchange.com/a/380300/295232) | [tag:status-review] | [#164](https://github.com/StackExchange/Stacks-Editor/issues/164) |
| [tag:bug] | [Heading button's tooltip (Ctrl-h) is hidden by the list of heading options](https://meta.stackexchange.com/a/380301/295232) | [tag:status-review] | [#169](https://github.com/StackExchange/Stacks-Editor/issues/169) |
| [tag:bug] | [Weird behaviour when dragging to select a link in the rendered view](https://meta.stackexchange.com/a/380310/295232) | [tag:status-review] | [#170](https://github.com/StackExchange/Stacks-Editor/issues/170) |
| [tag:bug] | [Heading disappears when applying blockquote](https://meta.stackexchange.com/a/380318/295232) | [tag:status-review] | [#171](https://github.com/StackExchange/Stacks-Editor/issues/171) |
| [tag:bug] | [Switching modes has problems with asterisks](https://meta.stackexchange.com/a/380316/295232) | [tag:status-review] | [#173](https://github.com/StackExchange/Stacks-Editor/issues/173) |
| [tag:bug] | [Pasting Markdown into the Markdown editor causes it to be surrounded by code fences](https://meta.stackexchange.com/a/380334/295232) | [tag:status-review] | [#174](https://github.com/StackExchange/Stacks-Editor/issues/174) |
| [tag:bug] | [HTML comments disappear when switching modes](https://meta.stackexchange.com/a/380319/295232) | [tag:status-review] | [#175](https://github.com/StackExchange/Stacks-Editor/issues/175) |
| [tag:bug] | [Cursor gets stuck after inserting link](https://meta.stackexchange.com/a/380333/295232) | [tag:status-review] | [#178](https://github.com/StackExchange/Stacks-Editor/issues/178) |
| [tag:bug] | [HTML backtick entity is incorrectly converted when switching modes](https://meta.stackexchange.com/a/380357/665544) | [tag:status-review] | [#180](https://github.com/StackExchange/Stacks-Editor/issues/180) |
| [tag:bug] | [Code blocks in numbered lists render incorrectly](https://meta.stackexchange.com/a/380355/665544) | [tag:status-review] | [#181](https://github.com/StackExchange/Stacks-Editor/issues/181) |
| [tag:bug] | [Adding a \[code block / heading / blockquote / table\] on the same line as a \[bullet / numbered\] point is not possible](https://meta.stackexchange.com/a/380344/295232) | [tag:status-review] | [#181](https://github.com/StackExchange/Stacks-Editor/issues/181) |
| [tag:bug] | [Standard HTML does not render properly in the rich text view](https://meta.stackexchange.com/a/380346/295232) | [tag:status-review] | [#183](https://github.com/StackExchange/Stacks-Editor/issues/183) |
| [tag:bug] | [Quoting table removes leading pipes](https://meta.stackexchange.com/a/380367/665544) | [tag:status-review] | [#185](https://github.com/StackExchange/Stacks-Editor/issues/185) |
| [tag:bug] | [Triple backticks can't be wrapped in source fence](https://meta.stackexchange.com/a/380356/665544) | [tag:status-review] | [#186](https://github.com/StackExchange/Stacks-Editor/issues/186) |
| [tag:bug] | [Ctrl+Shift+Z is undo instead of redo... unless there are no more items to undo](https://meta.stackexchange.com/a/380386/513150) | [tag:status-completed] | [#187](https://github.com/StackExchange/Stacks-Editor/issues/187) |
| [tag:bug] | [Only one table can be deleted at a time when trying to delete multiple tables at once](https://meta.stackexchange.com/a/380419/513150) | [tag:status-review] | [#189](https://github.com/StackExchange/Stacks-Editor/issues/189) |
| [tag:bug] | [Dragging to select text in the "Edit image" dialog box is not possible](https://meta.stackexchange.com/a/380422/513150) | [tag:status-review] | [#190](https://github.com/StackExchange/Stacks-Editor/issues/190) |
| [tag:bug] | [Pressing the down arrow key in a code block with multiple lines moves out of the code block](https://meta.stackexchange.com/a/380352/295232) | [tag:status-review] | [#191](https://github.com/StackExchange/Stacks-Editor/issues/191) |
| [tag:bug] | [Inserting a horizontal rule in Markdown mode makes the previous line a header](https://meta.stackexchange.com/a/380338/295232) | [tag:status-review] | [#192](https://github.com/StackExchange/Stacks-Editor/issues/192) |
| [tag:bug] | [Various oddities occur when a numbered item is a child of a bulleted item](https://meta.stackexchange.com/a/380396/513150) | [tag:status-review] | [#194](https://github.com/StackExchange/Stacks-Editor/issues/194) |
| [tag:bug] | [HTML comment inserts blue bar on top of post in rich text mode](https://meta.stackexchange.com/a/380409/665544) | [tag:status-review] | [#195](https://github.com/StackExchange/Stacks-Editor/issues/195) |
| [tag:bug] | [Adding a link to text with a space at the end causes the space to be included in the link text](https://meta.stackexchange.com/a/380335/295232) | [tag:status-review] | [#196](https://github.com/StackExchange/Stacks-Editor/issues/196) |
| [tag:bug] | [No way to escape source fence at beginning of post](https://meta.stackexchange.com/a/380418/665544) | [tag:status-review] | [#197](https://github.com/StackExchange/Stacks-Editor/issues/197) |
| [tag:bug] | [In rich text `<hr>` doesn't have selection highlight](https://meta.stackexchange.com/a/380447/513150) | [tag:status-review] | [#198](https://github.com/StackExchange/Stacks-Editor/issues/198) |
| [tag:bug] | [Moving cursor over `<hr>` pushes it down in rich text mode](https://meta.stackexchange.com/a/380438/665544) | [tag:status-review] | [#199](https://github.com/StackExchange/Stacks-Editor/issues/199) |
| [tag:bug] | [In rich text, selecting blocks moves edit image dialogue](https://meta.stackexchange.com/a/380439/513150) | [tag:status-review] | [#200](https://github.com/StackExchange/Stacks-Editor/issues/200) |
| [tag:bug] | [Cursor disappears in long posts](https://meta.stackexchange.com/a/380570/513150) | [tag:status-review] | [#206](https://github.com/StackExchange/Stacks-Editor/issues/206) |
| [tag:bug] | [RT mode weirdly displays content made from HTML paragraph and HTML comment tags](https://meta.stackexchange.com/a/380659/513150) | [tag:status-review] | [#207](https://github.com/StackExchange/Stacks-Editor/issues/207) |
| [tag:bug] | [Tags should be automatically rendered when first typing it in the rendered view](https://meta.stackexchange.com/a/380307/295232) | [tag:status-review] | [#51](https://github.com/StackExchange/Stacks-Editor/issues/51) |
| [tag:bug] | [Applying a \[numbered / bulleted\] list to multiple lines works differently in each mode](https://meta.stackexchange.com/a/380604/513150) |  |  |
| [tag:bug] | [Pressing italics on bold text removes bold](https://meta.stackexchange.com/a/382266) |  |  |
| [tag:bug] | [Only one spoiler can be revealed at a time in the rich text view](https://meta.stackexchange.com/a/380345/295232) | [tag:status-bydesign] |  |
| [tag:bug] | [Bolded message in Markdown is already bolded](https://meta.stackexchange.com/a/380463/513150) | [tag:status-bydesign] |  |
| [tag:bug] | [Placeholder text in edit summary is missing a bracket for mobile users](https://meta.stackexchange.com/a/380466/513150) | [tag:status-bydesign] |  |
| [tag:bug] | [Removing code-block formatting results in broken state](https://meta.stackexchange.com/a/380337/295232) | [tag:status-bydesign] | [#179](https://github.com/StackExchange/Stacks-Editor/issues/179) |
| [tag:bug] | [Imgur logo not aligned with preceding text](https://meta.stackexchange.com/a/380327/295232) | [tag:status-declined] |  |
| [tag:bug] | [Switching modes destroys the undo/redo stack](https://meta.stackexchange.com/a/380473/513150) | [tag:status-declined] |  |
| [tag:bug] | [Multiple leading spaces render as spaces in rich-text mode, but turn into a code block](https://meta.stackexchange.com/a/380353/295232) | [tag:status-declined] |  |
| [tag:feature-request] | [Update the Alpha label to the Beta label in the Preferences tab](https://meta.stackexchange.com/a/380565/513150) | [tag:status-completed] |  |
| [tag:feature-request] | [Improve keyboard shortcut capitalization](https://meta.stackexchange.com/a/380296/295232) | [tag:status-completed] | [#166](https://github.com/StackExchange/Stacks-Editor/issues/166) |
| [tag:feature-request] | [Code button should indent/unindent things](https://meta.stackexchange.com/a/380312/295232) | [tag:status-planned] | [#50](https://github.com/StackExchange/Stacks-Editor/issues/50) |
| [tag:feature-request] | [Make the resize tool more (visually) accessible](https://meta.stackexchange.com/a/380441/513150) | [tag:status-planned] | [#101](https://github.com/StackExchange/Stacks-Editor/issues/101) |
| [tag:feature-request] | [In rich text mode, either help icon should not direct to markdown help or help page should mention both rich text + markdown](https://meta.stackexchange.com/a/380568/513150) | [tag:status-review] |  |
| [tag:feature-request] | [Inconsistent header levels](https://meta.stackexchange.com/a/380299/295232) | [tag:status-review] | [#165](https://github.com/StackExchange/Stacks-Editor/issues/165) |
| [tag:feature-request] | [Allow saving edits to a post using with Ctrl+Enter](https://meta.stackexchange.com/a/380313/295232) | [tag:status-review] | [#205](https://github.com/StackExchange/Stacks-Editor/issues/205) |
| [tag:feature-request] | [We should be able to drag the question right above the answer](/a/380465) | [tag:status-norepro] |  |
| [tag:feature-request] | [Consider not including the strikethrough button](https://meta.stackexchange.com/a/380412/513150) | [tag:status-norepro] |  |
| [tag:feature-request] | [Capitalize syntax highlight language to source code fence](https://meta.stackexchange.com/a/380343/295232) | [tag:status-declined] |  |
| [tag:feature-request] | [Sort reference's numbering by order of appearance in post](https://meta.stackexchange.com/a/380402/665544) | [tag:status-declined] |  |
| [tag:feature-request] | [Add a visual formula editor as an editor feature](https://meta.stackexchange.com/a/380654/513150) | [tag:status-declined] |  |
| [tag:support] | [When will the editor be activated for questions?](https://meta.stackexchange.com/a/380321/295232) | [tag:status-bydesign] |  |

### Notes

- Anybody is welcome to contribute to this post; it's a Community wiki after all.
- Sorting order: [tag:bug] \> [tag:feature-request] \> [tag:support], then [tag:status-completed] \> [tag:status-deferred] \>  [tag:status-planned] \> [tag:status-review] \> no status tag \> [tag:status-norepro] \> [tag:status-bydesign] \> [tag:status-declined].
- Comments can be used to discuss the structure of this post, e.g. whether the sort order above makes sense or needs to be improved.

### Credits

Original idea: [here](https://meta.stackoverflow.com/a/396655/4751173), further refined [here](https://meta.stackexchange.com/a/369148/295232) and [here](https://meta.stackexchange.com/a/372698/295232).

### Updates

Run the snippet below to check if this summary is up to date, or which changes are needed.

<!-- begin snippet: js console: true -->

    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript" ></script>
    
    const summaryAnswerID = 380354; // ID of the summary answer
    const key = "U4DMV*8nvpm3EOpvf69Rxw(("; // taken from API documentation
    const typeTagRegex = /\[(meta-)?tag:(discussion|support|feature-request|bug)\]/i;
    const statusTagRegex = /\[(meta-)?tag:(status-[-\w]+)\]/i;
    const summaryRegex = /#+\s+(.*)/i;
    const gitHubLinkRegex = /\/\/github.com\/\S+\/issues\/(\d+)/i;
    const site = "meta";
    
    async function main() {
      // Find question ID and current summary
      var result = await $.get("https://api.stackexchange.com/2.3/answers/" + summaryAnswerID + "?site=" + site + "&filter=!nKzQURFm*e&key=" + key);
      let questionID = result.items[0]["question_id"];
      let summaryBody = result.items[0]["body"];
      let summaryMarkdown = result.items[0]["body_markdown"];
      let lines = summaryMarkdown.split(/\r?\n/);
      
      var linesToAdd = [];
      var linesToChange = {};
      var page = 0;
      while (true) {
        // Fetch answers
        result = await $.get("https://api.stackexchange.com/2.3/questions/380295/answers?page=" + ++page +
            "&pagesize=100&order=asc&sort=creation&site=" + site + "&filter=!nKzQURFm*e&key=" + key);
        for (let item of result.items) {
          // Summary?
          let answerID = item["answer_id"];
          if (answerID == summaryAnswerID)
            continue;
          
          // Present in summary?
          var currentLine = null;
          for (let line of lines) {
            if (line.search(new RegExp('/a/' + answerID + '[/)]')) != -1) {
              currentLine = line;
              break;
            }
          }
          
          // Analyze answer
          let markdown = item["body_markdown"];
          let typeTagMatch = typeTagRegex.exec(markdown);
          let summaryMatch = summaryRegex.exec(markdown);
          let statusTagMatch = statusTagRegex.exec(markdown);
          let gitHubLinkMatch = gitHubLinkRegex.exec(markdown);      
          
          if (currentLine == null) {
            // Generate new entry
            let title = summaryMatch == null ? "(please add summary)" : summaryMatch[1];
            let summary = "[" + title + "](/a/" + answerID + ")";        
            linesToAdd.push(generateLine(typeTagMatch, summary, statusTagMatch, gitHubLinkMatch));
          } else {
            // Compare against summary
            let components = currentLine.split("|");
            let typeTag = typeTagRegex.exec(components[1].trim());
            let summary = components[2].trim();
            let statusTag = statusTagRegex.exec(components[3].trim());
            let gitHubLink = gitHubLinkRegex.exec(components[4].trim()); // may be absent, if GitHub isn't used
            var changeNeeded = typeTagMatch != null && (typeTag == null || typeTag[2].toLowerCase() != typeTagMatch[2].toLowerCase());
            changeNeeded |= statusTagMatch != null && (statusTag == null || statusTag[2].toLowerCase() != statusTagMatch[2].toLowerCase());
            changeNeeded |= gitHubLinkMatch != null && (gitHubLink == null || gitHubLink[1].toLowerCase() != gitHubLinkMatch[1].toLowerCase());
            if (!changeNeeded)
              continue;
            
            linesToChange[currentLine] = generateLine(typeTagMatch, summary, statusTagMatch, gitHubLinkMatch);
          }
        }
        
        // Any more answers?
        if (!result["has_more"])
          break;
      }
      
      // Changes needed?
      if (linesToAdd.length == 0 && Object.keys(linesToChange).length == 0) {
        alert("The summary is up-to-date.");
        return;
      }  
      var messages = [];
      if (linesToAdd.length != 0) {
        messages.push("\nThe following lines need to be added:");
        for (let lineToAdd of linesToAdd) {
          messages.push(lineToAdd);
        }
      }
      if (Object.keys(linesToChange).length != 0) {
        messages.push("\nThe following lines need to be changed:");
        for (let lineToChange in linesToChange) {
          messages.push("\n" + lineToChange + "\n-->\n" + linesToChange[lineToChange] + "\n");
        }
      }  
      console.log(messages.join("\n"));
      alert("Changes needed, please check the console for details.")
    }
    main();
    
    function generateLine(typeTagMatch, summary, statusTagMatch, gitHubLinkMatch) {
      var components = [""];
      components.push(typeTagMatch == null ? "(please add type)" : "[tag:" + typeTagMatch[2] + "]");
      components.push(summary);
      components.push(statusTagMatch == null ? "" : "[tag:" + statusTagMatch[2] + "]");
      if (gitHubLinkMatch != null) {
        components.push("[#" + gitHubLinkMatch[1] + "](https:" + gitHubLinkMatch[0] + ")");
      }
      components.push("");
      return components.join(" | ").trim();
    }

<!-- end snippet -->