Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Tasks using hand coded html don't behave as expected #31

@digitalmoksha

Description

@digitalmoksha

Tasks that are created using hand coded html don't properly work. For example

<ul>
<li>[ ] one</li>
</ul>

- [ ] two

gives a task item with the proper classes, such as task-list-item-checkbox, but it won't behave correctly because there is no underlying markdown task. In the above example, if you click task one, task two will get checked.

This doesn't happen often, but we've had issues where someone tries to use a task in a table, for example.

What do you think about somehow leaving these types of checkboxes disabled all the time, but still styled correctly so that they look like tasks?

If you know that your markdown has sourcepos support, then the lack of that attribute would indicate there is no markdown backing it up. But I'm not sure how to do it generically.

Of course the ideal thing would to be able support non-markdown checkboxes, but I'm not sure I see that happening yet 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions