Skip to content

Checkbox Support In Preview Mode #325

@tnyeanderson

Description

@tnyeanderson

THANK YOU EVERYONE FOR THE HARD WORK ON 3.0!

Describe the bug
Checkboxes are not rendered properly in Preview mode

To Reproduce
Create a note with checkboxes

- [ ] One
- [x] Two

Go to preview mode

Expected behavior
We should see this (essentially):

<ul>
  <li>
    <input type="checkbox" disabled>
    <label>One</label>
  </li>
  <li>
    <input type="checkbox" disabled checked>
    <label>Two</label>
  </li>
</ul>

Instead we see this (essentially):

<ul>
  <li>[ ] One</li>
  <li>[x] Two</li>
</ul>

Server (please complete the following information):

  • Notes app version: 3.0.0
  • Nextcloud version: 16

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeature: Markdown-itRelated to preview mode using Markdown-it

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions