verbb / vizy

A flexible visual editor for Craft CMS
Other
43 stars 8 forks source link

Nested UL and OL not being rendered #209

Closed jan-dh closed 1 year ago

jan-dh commented 1 year ago

Describe the bug

When creating content like this:

image

only the first level gets rendered

image

Steps to reproduce

  1. Create a vizy field
  2. Add multi level ol and ul elements

Craft CMS version

4.4.7.1

Plugin version

2.1.1

Multi-site?

"Yes"

Additional context

No response

engram-design commented 1 year ago

Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-4 as 2.1.1"

matthewbeta commented 1 year ago

Hey,

We've updated to 2.1.1 and still seeing this issue. I've tried deleting the list, saving, then re-adding and no dice.

Craft v4.4.71, Vizy v2.1.1

engram-design commented 1 year ago

Strange, that does seem to be working for me, with a heap of different combinations. This is me replicating your structure just to test.

image image

What's the method you're using to render your field? Simple, or looping through nodes?

engram-design commented 1 year ago

Applied in 2.1.3, but let me know if this is still an issue