Skip to content

Make rendered markdown task list checkboxes clickable#8018

Open
albcp wants to merge 1 commit into
requarks:mainfrom
albcp:feat/clickable-markdown-checkboxes
Open

Make rendered markdown task list checkboxes clickable#8018
albcp wants to merge 1 commit into
requarks:mainfrom
albcp:feat/clickable-markdown-checkboxes

Conversation

@albcp

@albcp albcp commented May 25, 2026

Copy link
Copy Markdown

Summary

Implements the feature request to allow rendered Markdown task list checkboxes to be clicked without entering edit mode. (https://js.wiki/feedback/p/allow-checkboxes-to-be-checked-without-editing)

Checkbox toggles are visual-only and are not persisted back to the Markdown source. This is useful for temporary checklist workflows, such as filling out a template before printing.

Changes

  • enable interactive task list checkboxes in the server Markdown renderer
  • enable the same behavior in the Markdown editor preview
  • update task list checkbox styling so it no longer depends on disabled
  • add a focused renderer test to verify disabled is not emitted

Verification

  1. Create or edit a Markdown page with:
    • unchecked task
    • checked task
  2. Save the page
  3. View the rendered page
  4. Click the checkboxes and confirm they can be toggled visually

Test

npx jest server/test/modules/rendering/markdown-tasklists.test.js

Screenshot

Rendered Markdown task list checkboxes are now clickable without entering edit mode.
checkbox

@auto-assign auto-assign Bot requested a review from NGPixel May 25, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants