Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bowencool opened this issue Jun 25, 2024 · 3 comments

Comments

@bowencool
Copy link

image image
@jpedroschmitz
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants