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

Comment block in the template throws error "Cannot read properties of undefined (reading 'font-weight')" #1044

Closed
NazarLuchyt opened this issue Nov 29, 2023 · 0 comments
Labels

Comments

@NazarLuchyt
Copy link

Jodit Version: 3.24.9

Browser: Chrome
OS: Windows
Is React App: True

Code
When using this template, Jodit throws an error "Uncaught TypeError: Cannot read properties of undefined (reading 'font-weight')"

<!-- comment -->

I have a list of templates that clients create; some have this comment block.

Expected behavior:
Jodit doesn't throw an error (right now it spams an error in the log file) but shows a blank line.

Actual behavior:
Jodit throws an error "Uncaught TypeError: Cannot read properties of undefined (reading 'font-weight')"

image

2023-11-29_17h47_32.mp4
@xdan xdan added the bug label Dec 6, 2023
xdan added a commit that referenced this issue Dec 10, 2023
…roperties of undefined (reading 'font-weight')" #1044

Issue: #1044
@xdan xdan closed this as completed Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants