Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix broken "Raw cell MIME type" dialog (#3255)#5385

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@onnodb
Copy link
Contributor

@onnodbonnodb commentedApr 17, 2020
edited
Loading

The modal dialog for entering a custom MIME type for a "Raw NBConvert"-type cell was broken (see also#3255). This change to the JavaScript code makes the modal dialog appear correctly again. It also fixes the handling of key presses while the dialog is open, preventing the cell editor from handling them.

I ran into this issue today, and figured I could try and have a look at the JavaScript code myself. The fix is really just based on comparing the code innotebook/static/notebook/js/celltoolbarpresets/rawcell.js with the code in.../tags.js. I'm not much of a JS developer, so please bear with me :-)

The modal dialog for entering a custom MIME type for a "Raw NBConvert"-type cell was broken. This change to the JavaScript code makes the modaldialog appear correctly again, as well as correctly disabling thehandling of key presses by the cell editor while the dialog is open.Thisfixesjupyter#3255.
Copy link
Contributor

@blink1073blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Nice, thanks@onnodb!

onnodb reacted with thumbs up emoji
@blink1073blink1073 added this to the6.1 milestoneMay 22, 2020
@blink1073blink1073 merged commit7563c54 intojupyter:masterMay 22, 2020
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMar 24, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

1 more reviewer

@blink1073blink1073blink1073 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.1

Development

Successfully merging this pull request may close these issues.

2 participants

@onnodb@blink1073

[8]ページ先頭

©2009-2025 Movatter.jp