-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hi guys, I faced with this error
TypeError: Failed to set an indexed property [0] on 'CSSStyleDeclaration': Indexed property setter is not supported.
at setValueForStyle (http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=5deb1073:2145:452)
at setValueForStyles (http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=5deb1073:2192:55
My code
<Document >
<Page>
<Html>{html}</Html>
</Page>
</Document>
My HTML
const html = `<html>
Heading 1
Heading 2
Heading 3
Heading 4
Paragraph with bold, italic, underline,
strikethrough,
and all of the above
- Unordered item
- Unordered item
- Ordered item
- Ordered item
Text outside of any tags
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Foo | Bar | Foobar |
| Foo | Bar | |
| Some longer thing | Even more content than before! | Even more content than before! |
Metadata
Metadata
Assignees
Labels
No labels