joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Bullet items nested under checkboxs render incorrectly with WYSIWYG editor

Open dkonigsberg opened this issue 11 months ago • 0 comments

I frequently create bullet-list items under elements in a checkbox list, often to provide extra details or clarifications on a particular checkbox item. I've found that the Joplin WYSIWYG editor renders these nested elements incorrectly, as a square with an off-center circle inside of it. Meanwhile, the preview pane of the Markdown editor seems to render these items correctly.

Here's the Markdown editor side-by-side preview: Screenshot from 2023-07-08 08-07-11

And here's the WYSIWYG editor: Screenshot from 2023-07-08 08-07-19

And here's markdown code that can reproduce this:

- [ ] One
    - Red
    - Green
    - Blue
- [ ] Two
    - Alpha
    - Beta
    - Gamma
- [ ] Three
- [ ] Four

Environment

Joplin version: 2.11.11 (prod, linux) Platform: Linux OS specifics: Pop!_OS 22.04 LTS

(Note: Issue also reproduces on Windows 11, and does not appear to be platform-specific.)

Steps to reproduce

  1. Create a note with the Markdown editor
  2. Add a bulleted list (see above snippet)
  3. Add checkboxes to the top-level elements of that list (see above snippet)
  4. Note the preview window
  5. Switch to the WYSIWYG editor
  6. Note the displayed contents

Describe what you expected to happen

I expect non-checkbox elements that are children of checkbox elements to render with normal bullet points, regardless of which editor mode I'm using.

dkonigsberg avatar Jul 08 '23 15:07 dkonigsberg