hygraph / rich-text

A set of companion packages for Hygraph's Rich Text Field
MIT License
93 stars 18 forks source link

The `colspan` attribute is missing in the `td` tag when converting an HTML string to a Slate AST. #129

Open bowencool opened 4 months ago

bowencool commented 4 months ago
image image
jpedroschmitz commented 4 months ago

You can customize the implementation. The lib is not opinionated on colspan attributes.

Here's the docs for the React library and for the HTML.

bowencool commented 4 months ago

You can customize the implementation. The lib is not opinionated on colspan attributes.

Here's the docs for the React library and for the HTML.

Thank you, but the Slate AST generated from @graphcms/html-to-slate-ast is missing the colspan attributes. As a result, I cannot render it completely without all the necessary attributes.

jpedroschmitz commented 4 months ago

I got it now, so the error is in a different library. I got confused as the issue wasn't well described.

Unfortunately, we don't support colspan attributes, so you won't be able to see it in the generated AST.