You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I actually was facing the same issue too. I was building a PageBuilder module in which I was iterating through all blocks to render them individually according to their type. Problem was that each listItem was returned as an individual block.
I got around it by just using the types property in PortableText.
I'm having an issue where each lines of my list item are individually wrapped in a
<ul>
tag.Not sure if there is a way around that? In case it helps to debug, I'm attaching what I have in Sanity:
![ScreenShot 2024-03-01 at 19 31 21](https://private-user-images.githubusercontent.com/20617539/309230590-6f07c422-f7da-4d21-843a-d6dbb652a3b5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMjA2MTEsIm5iZiI6MTcxOTEyMDMxMSwicGF0aCI6Ii8yMDYxNzUzOS8zMDkyMzA1OTAtNmYwN2M0MjItZjdkYS00ZDIxLTg0M2EtZDZkYmI2NTJhM2I1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDA1MjUxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFkMDYyNmNmNjQ2ODg4MDZiOWUwYjRlOWQ5MDQ0YzFhYzU5NDdjODAwOGY2ZjUyYjU2MWFiZjQxODNiN2I4NWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QhBoFnLGLDvxKxShZm0G24ojnJ1cfHFa7nN860oovTU)
![ScreenShot 2024-03-01 at 19 32 17](https://private-user-images.githubusercontent.com/20617539/309230618-079503be-547c-4331-8f91-0501392f7cb6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMjA2MTEsIm5iZiI6MTcxOTEyMDMxMSwicGF0aCI6Ii8yMDYxNzUzOS8zMDkyMzA2MTgtMDc5NTAzYmUtNTQ3Yy00MzMxLThmOTEtMDUwMTM5MmY3Y2I2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDA1MjUxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcxZDNiNzQ0ZmRjYzRmNTU4ZDY5YmYzOTJjNjQxNTgzNjkzNjI5NTIwOWUwZjc5ZDYwMDlhNmVhMDlmNzE5ZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wT0sofg4ophNuS_Nnw0wjUwyUYLvgCnM0EJZDcMxTTc)
The text was updated successfully, but these errors were encountered: