Allow Tab key use to indent code

As a Roblox developer, it is currently too hard to quickly write code snippets in the forum’s topics and posts editor. Code indentation is a key part of code readability.

Most code editors let you indent code using the Tab key while on this forum pressing the Tab key will instead focus the preview post/topic text area and because of this we need to use the Space key to indent our code.

If Roblox is able to address this issue, it would improve my experience using the forum because it would be quicker to write code snippets


According to the co-founder of Discourse, never going to happen.

I recommend a browser plugin like greasemonkey to detect when you press tab and replace it with an indentation.


Although that is true, Discourse is open source so editing the editor code would bypass maintainers decisions

1 Like

Editing the source code means you need to fork the source code. Roblox currently doesn’t seem to fork it so making that decision would be a major impact to maintainability. (they will need to cherrypick security commits and feature changes from the main Discourse repository or do those changes themselves, and any changes you make have the potential to conflict with changes from the origin, it’s a pain to resolve two different histories like that as time continues)

Would be easier for Discourse to be in line with the changes as well, or for Roblox to make this change as part of a plugin instead of forking the source.