Skip to content

[Bug]: Ctrl+B / Ctrl+I / Ctrl+U format the words of the transcript #1038

Description

@EtienneLescot

What happens

With the caret in the transcript, Ctrl+B, Ctrl+I and Ctrl+U (Cmd on macOS) apply bold, italic and underline to the words in the DOM. The document never sees it: the DOM and transcript.words drift apart.

Cause

The transcript block is contentEditable only to carry a caret. Its native beforeinput guard (src/components/ai-edition/RightPanes.tsx, around line 1307) prevents the delete* and insert* input types and lets every other one through, formatBold, formatItalic and formatUnderline included.

Expected

Formatting shortcuts do nothing in the transcript. One way: the guard prevents every input type it does not handle, so the next one is covered too. The word editor and the insertion field are <input>s and are already skipped.

How it was found

While fixing #1012, in headless Chrome. It predates that change.

Activity

  1. added
    status: fixed in mainWork is merged into main but may not be in a downloadable release yet.
    status: pending releaseMerged change is waiting for a packaged desktop release.
    on Oct 7, 2026
  2. added this to the Next Release milestone on Oct 7, 2026
  3. github-actions commented on Oct 7, 2026

    @github-actions
    Contributor

    Fixed by #1049 and merged into main.

    This change is assigned to the Next Release release milestone and is not necessarily available in the latest downloadable desktop release yet. It is currently marked as status: pending release until a packaged release containing it is published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus: fixed in mainWork is merged into main but may not be in a downloadable release yet.status: pending releaseMerged change is waiting for a packaged desktop release.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions