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
Increase/Decrease Text Editor Font Size not working #16182
Comments
This seems to be coming from this line: jupyterlab/packages/fileeditor-extension/src/commands.ts Lines 261 to 264 in 2ceabd8
It was not caught by type checking because config is typed as
which is another argument for forbidding And we will need to add a test case for these commands. |
Hi, we have been trying to solve this issue. When trying to reproduce the error, we were getting uncaught error saying that fontSize was undefined. However, after adding console.log statement in the code sections referencing fontSize (in commands.ts) we were not able to see any of our console.logs and were wondering if its possible that fontSize is being referenced somewhere else, which is causing the error to be thrown. When trying to trace the error in the console, it was unable to point us to a file. We tried catching the error as well in commands.ts but it had no effect. Are there any other suggestions of where this uncaught error may be originating from? |
@janengcodes if you did not see the logs, did you check that logs which you add in other places are visible? I would suspect that you are may not be using the compiled dev versions (do you see a red strip/bar at the top of the page?) |
Description
Increase/Decrease Text Editor Font Size is not working and is a no-op
Reproduce
Browser console will show following JavaScript error
Expected behavior
Text should resize accordingly
Context
The text was updated successfully, but these errors were encountered: