BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

feat: Table cell rowspan/colspan in API

Open 1cybersheep1 opened this issue 1 year ago • 2 comments

Summary: This PR introduces support for rowspan and colspan properties in the API, laying the foundation for future cell merging functionality.

Details:

  • Added rowspan and colspan parameters to the CellContent and PartialCellContent types.
  • Integrated these parameters into nodeConversion, with default values set to 1.

Why: Supporting rowspan and colspan is essential for enabling merged cells, which will enhance the user experience by allowing more complex and dynamic table structures.

Additional Notes:

  • This PR targets the current branch since I think it makes sense to merge them together.
  • The naming convention of the parameters (rowspan and colspan) can be adjusted based on feedback.

Fixes #972

1cybersheep1 avatar Sep 06 '24 19:09 1cybersheep1

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Sep 6, 2024 7:37pm

vercel[bot] avatar Sep 06 '24 19:09 vercel[bot]

@1cybersheep1 is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Sep 06 '24 19:09 vercel[bot]

This has already been resolved

nperez0111 avatar Apr 04 '25 15:04 nperez0111