Possible Bug: Typst Web App in Firefox Mobile with Vim Mode can delete content

I found a bug and I can reliably reproduce it.

If I edit a typst document in my mobile Firefox (Android) with enabled vim mode and I just press i to insert something, the document gets emptied.

If you are having this problem:
Please use the undo from the menu and then leave the document. Otherwise you might lose data.

I found out the hard way.

I would like to dive deeper into this bug. Does someone have the same problem?

Steps to reproduce:

  1. create a new project, as data might get deleted forever
  2. fill the main.typ with some text
  3. save by leaving the project
  4. use Firefox mobile to open the project and try to edit main.typ by pressing i for insert in the vim mode
  5. notice that a lot of text or all text is gone

I cannot reproduce. Everything was done from the phone and Vim mode was always enabled. Firefox 148.0.2

1 Like

If you need to recover the data, you can write an email to the Typst team (from your account’s email address) with your project URL, maybe the old version is still present somewhere on their servers.

1 Like

Maybe it is just me. That would reduce the risk for others.

I did that and the support helped me. The service is great!

2 Likes