Feature #35742
closedEnable task list items for CommonMark text formatting
Added by Marius BĂLTEANU over 3 years ago. Updated about 1 year ago.
0%
Description
The task list extensions will be a very nice addition for Common Mark text formatting.
Files
Screenshot_2021-10-09_at_17-25-08.png (10.8 KB) Screenshot_2021-10-09_at_17-25-08.png | Go MAEDA, 2021-10-09 10:26 | ||
0001-Enable-task-list-for-CommonMark-Markdown-formater-35.patch (3.47 KB) 0001-Enable-task-list-for-CommonMark-Markdown-formater-35.patch | Marius BĂLTEANU, 2022-01-04 18:35 | ||
0002-Adds-task-list-button-to-toolbar-for-CommonMark-form.patch (2.49 KB) 0002-Adds-task-list-button-to-toolbar-for-CommonMark-form.patch | Marius BĂLTEANU, 2022-01-04 20:09 | ||
0003-Updates-help-file-for-common_mark-to-include-the-tas.patch (1.75 KB) 0003-Updates-help-file-for-common_mark-to-include-the-tas.patch | Marius BĂLTEANU, 2022-01-04 20:24 | ||
bt_tl.png (479 Bytes) bt_tl.png | Marius BĂLTEANU, 2022-01-22 10:38 |
Related issues
Updated by Marius BĂLTEANU over 3 years ago
- Related to Feature #32424: CommonMark Markdown Text Formatting added
Updated by Marius BĂLTEANU over 3 years ago
- File 0001-Enable-task-list-for-CommonMark-Markdown-formater-35.patch added
I'm adding a patch for testing purposes, I still need to:
- Add tests
- Add an icon to JS toolbar
- Allow clicking task item checkboxes directly.
- Try to add this to Textile
From my point of view, the feature is useful enough only with the first 2 items and we can improve later with 3 and 4. What do you think?
Regarding the tech side, I tried to implement it using only the tasklist
extension provided by the CommonMark, but it requires to whitelist in the sanitize the following tags: ul
, li
, input type="checkbox"
. Also, using this extensions it will make harder to port this feature to textile.
Updated by Marius BĂLTEANU about 3 years ago
- Target version set to 5.0.0
I think we should deliver this along with the new CommonMark formatter. Any feedback is appreciated.
Updated by Go MAEDA about 3 years ago
Really nice feature. This should be delivered in Redmine 5.0.0.
Marius BALTEANU wrote:
I'm adding a patch for testing purposes, I still need to:
- Add tests
- Add an icon to JS toolbar
- Allow clicking task item checkboxes directly.
- Try to add this to Textile
From my point of view, the feature is useful enough only with the first 2 items and we can improve later with 3 and 4. What do you think?
I agree. I think it is still useful even without 2.
Updated by Marius BĂLTEANU almost 3 years ago
- File 0001-Enable-task-list-for-CommonMark-Markdown-formater-35.patch 0001-Enable-task-list-for-CommonMark-Markdown-formater-35.patch added
I've updated the patch to include a test.
Updated by Marius BĂLTEANU almost 3 years ago
- File deleted (
0001-Enable-task-list-for-CommonMark-Markdown-formater-35.patch)
Updated by Marius BĂLTEANU almost 3 years ago
- File 0002-Adds-task-list-button-to-toolbar-for-CommonMark-form.patch 0002-Adds-task-list-button-to-toolbar-for-CommonMark-form.patch added
- File 0003-Updates-help-file-for-common_mark-to-include-the-tas.patch 0003-Updates-help-file-for-common_mark-to-include-the-tas.patch added
- 0002: adds a task list item button to the JS toolbar
- 0003: updates the help file for en.
Go Maeda, please let me know if I can commit this.
Updated by Marius BĂLTEANU almost 3 years ago
Feature added in r21383. You can now add task list items using the common_mark format * [ ] Task title
or by clicking the "Task list" icon from the toolbar.
For now, to check the items, you need to use the Edit feature, we will try to allow this by clicking on the checkbox in the near future.
Updated by Marius BĂLTEANU almost 3 years ago
- Related to Feature #20698: Add support for task list items in Textile formatting added
Updated by Go MAEDA over 2 years ago
- Subject changed from Enable task list items for Common Mark text formatting to Enable task list items for CommonMark text formatting
Updated by Beni br about 2 years ago
Marius BALTEANU wrote:
For now, to check the items, you need to use the Edit feature, we will try to allow this by clicking on the checkbox in the near future.
Is there any news on this or a issue to track clickable checkboxes?
Thanks for implementing this anyway!
Updated by Gilles Devillers about 1 year ago
Any news about this feature? This would really benefit our workflow where be have checklists in notes depending on the current state of the issue.
Updated by Go MAEDA about 1 year ago
Since the feature was already delivered as a part of Redmine 5.0.0 and this issue was closed, please don't add comments anymore.
Please open a new issue if you have any requests about the feature.