react-notion-x icon indicating copy to clipboard operation
react-notion-x copied to clipboard

Group top-level list items

Open Lancern opened this issue 3 years ago • 1 comments
trafficstars

Description

Top-level list items were rendered within seperate list containers. A top-level list that contains 2 items were rendered as:

<ul>
  <li></li>
</ul>
<ul>
  <li></li>
</ul>

instead of the more comprehensible form:

<ul>
  <li></li>
  <li></li>
</ul>

This PR addresses this issue and changes the way top-level list items are grouped and rendered.

Here is a screenshot after changes:

screenshot

Notion Test Page ID

de14421f13914ac7b528fa2e31eb1455

Lancern avatar Jun 16 '22 03:06 Lancern

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
react-notion-x ✅ Ready (Inspect) Visit Preview Jun 16, 2022 at 3:28AM (UTC)
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Jun 16, 2022 at 3:28AM (UTC)

vercel[bot] avatar Jun 16 '22 03:06 vercel[bot]