-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Checkbox List Type to Gutenberg List Block #15005
Comments
I think this should probably be a new block instead if widely relevant — with the ability to transform a list to / from it. A while ago I played with the concept here: |
I've actually started working on this a few weeks ago, but didn't have the time to finish it up. @mtias I think a check list (or task list) is so similar to a normal list that it might make more sense to built it in the list block. It still benefits form all the normal list interactions (e.g. indentation, enter behaviour), in fact, a check list is just a list with input elements at the start. Even in Github's Markdown this is visible:
|
Just got a request for the same thing from a WordPress.com user. |
It would be great if we can get a checkbox / checklist type block. I have run into a few instances lately where that would be handy. |
Is this intended to be purely visual or should the state be stored? I mean: |
The state should be stored, though perhaps with limitation on who can "check" items off the list?
I've hacked together list blocks and ✅ plus 🔳 visually at the front of the text to fake this sort of functionality. Usually used in posts to track progress on something and then checking off tasks as they're completed so that a record of progress is visually tracked in said checklist. |
I am not sure this type of action should be used outside a form. 🤔 |
Would it be possible to add a "checkbox" list type to the Gutenberg List Block?
The text was updated successfully, but these errors were encountered: