Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

GBoard: Markdown list continuation broken when pressing "enter" just after accepting a GBoard word suggestion #1312

@personalizedrefrigerator

Description

Note

This may be a GBoard bug, rather than an issue with CodeMirror.

Describe the issue

Reproduction steps:

  1. Create a CodeMirror editor with the markdown extension
  2. Create a numbered list
  3. Create a new list item (e.g. 2. )
  4. Open GBoard and accept a suggestion
  5. Press the key within GBoard

Observed behavior:
A newline is added without a number:

1. Test list
2. Test completion 
|

(Where | marks the cursor location).

Expected behavior:
A 3. should be added after pressing .

Downstream bug report: laurent22/joplin#9557

Browser and platform

Android 7, Chrome 119.0.6045.193, GBoard 13.6.11.574113912-release-arm64-v8a

Reproduction link

https://codemirror.net/try/?c=aW1wb3J0IHtFZGl0b3JWaWV3fSBmcm9tICJjb2RlbWlycm9yIgppbXBvcnQge21hcmtkb3dufSBmcm9tICJAY29kZW1pcnJvci9sYW5nLW1hcmtkb3duIgoKbGV0IHZpZXcgPSBuZXcgRWRpdG9yVmlldyh7CiAgZG9jOiAiMS4gQVxuMi4gVGVzdCIsCiAgZXh0ZW5zaW9uczogWwogICAgbWFya2Rvd24oKQogIF0sCiAgcGFyZW50OiBkb2N1bWVudC5ib2R5Cn0pCg==

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions