Closed wyljp closed 3 months ago
The recent updates enhance the HTML parsing logic for table cells, introducing a hidden
property that explicitly manages cell visibility based on display styles. This improvement not only refines how cell configurations are represented but also impacts rendering logic, allowing for clearer distinctions in visibility states. The changes contribute to a more robust framework for handling table elements in the application.
Files | Change Summary |
---|---|
packages/table-module/__tests__/parse-html.test.ts packages/table-module/src/module/parse-elem-html.ts |
Added a hidden property to cell configurations, modifying the parsing logic to include visibility state based on display styles. |
In the land of tables, where cells do play,
A hidden property brightens the day!
With styles and states, oh what a sight,
Cells dance and shimmer, in code's soft light.
So hop, little rabbit, and cheer with glee,
For clearer visibility is a treat, you'll see! 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
已 checkout 测试,今晚合并,周末发版 😀
解决合并单元格,setHTML回填,td中style="display:none"被编辑器丢掉的问题,已补充单测
Summary by CodeRabbit
New Features
hidden
property to manage cell visibility more effectively.Bug Fixes
Documentation