wiris / html-integrations

The official JavaScript library for MathType, the leading formula editor and equation writer for the web by Wiris
https://wiris.com/solutions/integrations/html-editors/
MIT License
76 stars 53 forks source link

SyntaxError: unknown file: Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning. #973

Closed gokulramdev closed 1 month ago

gokulramdev commented 3 months ago

Description

SyntaxError: unknown file: Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set throwIfNamespace: false to bypass this warning.

while I am using wiris generic react

Steps to reproduce

Just follow the steps of the generic react

carla-at-wiris commented 3 months ago

Hello @gokulramdev, thank you for writing us!

We will take a look at your issue during this week. We will let you know about any news.

TranLeMinh1234 commented 2 months ago

I have same issue. image

It's seem related xml structure in react+typescript project.

carla-at-wiris commented 1 month ago

Hello, thank you for writing us.

Since this seems to be a React JSX issue, we won't plan to work on it in the short term. If setting the flag throwIfNamespace to false works for you, we'd ask you to use it until we develop a way to make our SVG compatible with JSX. Any further issues, please feel free to contact us!