File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/jupyter_contrib_nbextensions/nbextensions/collapsible_headings Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ New features and bugfixes:
34
34
- Add preprocessor to embed images into a notebook
35
35
[ #1067 ] ( https://github.com/ipython-contrib/jupyter_contrib_nbextensions/pull/1067 )
36
36
[ @juhasch ] ( https://github.com/juhasch )
37
+ - Fixed conflicts in collapsible_headings if keys are rebound.
38
+ [ @rhilenova ] ( https://github.com/rhilenova )
37
39
38
40
39
41
0.4.0
Original file line number Diff line number Diff line change 634
634
635
635
var kbm = Jupyter . keyboard_manager ;
636
636
637
- var action_up = kbm . actions . get ( kbm . command_shortcuts . get_shortcut ( 'up' ) ) ;
637
+ var action_up = kbm . actions . get ( "jupyter-notebook:select-previous-cell" ) ;
638
638
var orig_up_handler = action_up . handler ;
639
639
action_up . handler = function ( env ) {
640
640
for ( var index = env . notebook . get_selected_index ( ) - 1 ; ( index !== null ) && ( index >= 0 ) ; index -- ) {
647
647
return orig_up_handler . apply ( this , arguments ) ;
648
648
} ;
649
649
650
- var action_down = kbm . actions . get ( kbm . command_shortcuts . get_shortcut ( 'down' ) ) ;
650
+ var action_down = kbm . actions . get ( "jupyter-notebook:select-next-cell" ) ;
651
651
var orig_down_handler = action_down . handler ;
652
652
action_down . handler = function ( env ) {
653
653
var ncells = env . notebook . ncells ( ) ;
You can’t perform that action at this time.
0 commit comments