Closed kellyjosephprice closed 1 month ago
Changes how tables are saved as JSX.
The align attribute is stored on the Table component, as well as the table cells:
Table
<Table align={["center", "center"]}> <thead> <tr> <th style={{ textAlign: 'center' }}>Hi!</th> <th style={{ textAlign: 'center' }}>Hello!</th> </tr> </thead> <tbody> <tr> <td style={{ textAlign: 'center' }}>Bye!</td> <td style={{ textAlign: 'center' }}>Bye Bye!</td> </tr> </tbody> </Table>
It also includes some cleanup of code that's not being used, namely html, esast, and hastFromHtml. hastFromHtml was going to be used for search indexing, but I think we're going to switch to much simpler parsing of just the hast.
html
esast
hastFromHtml
hast
Not ready, I keep forgetting.
🚀 Changes included in v6.75.0-beta.73
🧰 Changes
Changes how tables are saved as JSX.
The align attribute is stored on the
Table
component, as well as the table cells:It also includes some cleanup of code that's not being used, namely
html
,esast
, andhastFromHtml
.hastFromHtml
was going to be used for search indexing, but I think we're going to switch to much simpler parsing of just thehast
.🧬 QA & Testing