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

Add a default className #96

Closed
tony opened this issue Apr 5, 2023 · 0 comments · Fixed by #98
Closed

Add a default className #96

tony opened this issue Apr 5, 2023 · 0 comments · Fixed by #98

Comments

@tony
Copy link
Collaborator

tony commented Apr 5, 2023

In a custom build, if no math is declared in configuration:

fileupload.html:80 There was a problem initializing the editor. TypeError: Cannot read properties of undefined (reading 'className')
    at mx._defineConverters (mathediting.js:99:28)
    at mx.init (mathediting.js:20:8)

Moving the editor.config.define from init() to constructor( fixes it

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

Successfully merging a pull request may close this issue.

1 participant