You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Codemirror 6] Tab should insert spaces, not the actual tab character #4136
Hey @khanniie, On the develop-codemirror-v6 branch, when I press TAB, the editor inserts two spaces, which matches the behavior described in the issue.
Could you clarify what behavior you are expecting when TAB is pressed? The issue description seems a bit unclear to me, so I want to make sure I'm reproducing the correct behavior before investigating further.
Hi! that's strange, when i press tab, it inserts a TAB character. I'm on mac if that makes any difference! I've attached a screen recording here.
@Nishthajain7 Are you still working on this issue? no worries if not, we can re-assign it, but I'd love to get this one thing in soon as we're deploying cm6 in the next couple of weeks.
Activity
Nishthajain7 commentedon May 30, 2026
Can I work on this issue?
khanniie commentedon May 30, 2026
@Nishthajain7 Yes, thank you so much! just to clarify, this is for the cm6 feature branch, develop-codemirror-v6 branch
VaibhavNarayann commentedon Jun 4, 2026
Hey @khanniie, On the
develop-codemirror-v6branch, when I press TAB, the editor inserts two spaces, which matches the behavior described in the issue.Could you clarify what behavior you are expecting when TAB is pressed? The issue description seems a bit unclear to me, so I want to make sure I'm reproducing the correct behavior before investigating further.
Thanks!
khanniie commentedon Jun 4, 2026
Hi! that's strange, when i press tab, it inserts a TAB character. I'm on mac if that makes any difference! I've attached a screen recording here.
@Nishthajain7 Are you still working on this issue? no worries if not, we can re-assign it, but I'd love to get this one thing in soon as we're deploying cm6 in the next couple of weeks.
demo.mov
Nishthajain7 commentedon Jun 4, 2026
Yeah I'm working on this and I'll send a PR by this weekend. Sorry for the delay.
skyyash commentedon Jun 8, 2026
hi @Nishthajain7 , just checking in. lmk if you need any help.
Nishthajain7 commentedon Jun 9, 2026
Even for me, it inserts two spaces on pressing tab
khanniie commentedon Jun 9, 2026
Oh weird! I can take this issue then if I'm the only one who can reproduce it
Replace TAB keybinding with cm6 default one