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

Uncaught TypeError: Illegal invocation #834

Open
wesleydeb opened this issue Jul 11, 2023 · 0 comments
Open

Uncaught TypeError: Illegal invocation #834

wesleydeb opened this issue Jul 11, 2023 · 0 comments
Labels
type:bug Something isn't working

Comments

@wesleydeb
Copy link

Description

This is very similar to #357. We are also using a Froala editor in our Angular project. The issue is when a user clicks on the Wiris MathType or ChemType icon in the toolbar, there appear two Uncaught TypeError: Illegal invocation exceptions. After this point, clicking OK does not work anymore probably as a result of this. (We make a call to our own backend where we use the C# api to create an image of the input, but this function fails claiming the remote server returned a 403. After this we receive an Uncaught Error: Invalid string. Length must be a multiple of 4 exception on the client.) The editor window does however open correctly and everything in the editor still works.

Environment

Which version of MathType does this happen in?
"@wiris/mathtype-froala3": "^7.31.1"
but also tried:
"@wiris/mathtype-froala": "^8.4.0"
"@wiris/mathtype-froala3": "^7.26.1"
"@wiris/mathtype-froala3": "^7.27.1"

What is the relevant software and their versions?

  • Editor: Froala ^4.0.8
  • Framework: Angular ^14.2.0
  • Browser: Edge 114
  • Operating System: Windows 10

Steps to reproduce

  1. [Setup the wiris plugin in the froala editor]
  2. Click on the MathEdit button

Expected result

No exceptions, clicking OK works.

Actual result

Two Uncaught TypeError: Illegal invocation exceptions.

@wesleydeb wesleydeb added the type:bug Something isn't working label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant