tinymce / tinymce/tinymce

Checkbox click not triggering click event on Firefox

Open
#10,124 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs: more info
Dominant language
TypeScript
Stars
16.3k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

📝 Provide detailed reproduction steps (if any)

  1. I have a custom plugin that renders checkboxes inside the editor
  2. And an editor.getBody().addEventListener("click") inside the setup to listen to click events
✔️ Expected result

When I click on the checkbox I expect the click event to be triggered

❌ Actual result

The click event is not triggered when using Firefox. It works on Chrome though

📃 Other details

  • Browser: Firefox
  • OS: Mac
  • Worked in version: ^7.6.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Firefox on macOS using a custom plugin that renders checkboxes and the editor.getBody().addEventListener("click") setup. Compare the behavior with Chrome and the previously working ^7.6.0 version; done means checkbox clicks trigger the expected click event in Firefox without regressing Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.