Listes numérotées dans l'auditeur de texte enrichi : Échappement automatique des caractères pour l'éviter

Hi guys,

We’ve encountered a minor but persistent issue that’s causing some user frustration, this issue mostly effects German users. We realize the core problem lies within Markdown’s inherent behavior and might not be directly alterable.

However, with the new rich text editor, is there a possibility to implement auto-escaping of characters? This would prevent unintended formatting of new lines as numbered lists.

Specifically, users in German locales often start lines with date formats like 15. Oktober.... The editor automatically interprets this as the beginning of a numbered list, which isn’t the user’s intention.

The only workaround for our users is switching back to the Markdown editor and manually escaping the period with a backslash: 15\. Oktober.

3 « J'aime »

I don’t think we want to remove this list item auto conversion, but most input rules (the auto conversion from text to a formatted visual element) can be reverted if you hit backspace just after the conversion, in this case the Markdown result will be escaped:

15. no list item

Can you check if this helps or even solves your problem?

I checked on Desktop and Mobile, after about 10 attempt it actually worked and hitting backspace restored regular paragraph formatting.

Mobile (Android + gboard keyboard + chrome): Doesn’t work! Whole line gets deleted with backspace.

Steps to repro:

  1. Open on Chrome Android
  2. Enter 15., then space , then backspace
  3. Whole line get’s deleted

Edit: I managed to record the bugged as well as expected behavior on mobile screen recording:

(maybe the key was to wait for 2-3sec?)

Desktop: Doesn’t work initially, whole line get’s deleted. After 10 attempts it works as expected

For some reason desktop behavior super inconsistent though, I did several attempts to record a proper screencast and after a few times it worked and I could not reproduce the issue