typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
12 stars 0 forks source link

Indentation with `tab` key broken after last update #405

Closed codeblessing closed 2 months ago

codeblessing commented 2 months ago

Description

After latest update to https://typst.app tab key is not working as expected.

Expected behavior

Pressing tab inserts whitespace in place of cursor or (if text is selected) indentation of every line with selected text is increased by one step.

Actual behavior

Pressing tab does nothing, neither inserts white space nor increases indentation.

Although not breaking anything, this bug is quite irritating from usability perspective because it's a lot harder now to format code manually.

Reproduction URL

No response

Browsers

Firefox

OS

Linux

jamesrswift commented 2 months ago

I think this was discussed on the discord recently and both @PgBiel and I were able to reproduce it (I'm windows 10, edge)

PgBiel commented 2 months ago

Fixed, thank you!