In the Stack Overflow text editor we are not able to add tab characters -- pressing Tab will instead switch to the next text field (for entering tags). I checked the CKeditor demo, and it does the same thing. Is it possible for the editor to provide the option to add tab characters within the editor?
It is probably designed that way. But it does support tabs in a way.
But you can copy and paste tabs like here: tab tab tab But they won't show as HTML treats tabs as whitespaces so basically they will appear as spaces.
But here tab tab taaab tab will show.
Because code is put in pre (preformated) tags that will display tabulations and will use a fixed width font.
So if you want to display preformated text add 4 spaces at the beginning of each line and there you will have access to tabulations.