mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
past below by default
This commit is contained in:
parent
a9910aa408
commit
a56ee187ff
@ -51,10 +51,10 @@ var IPython = (function (IPython) {
|
||||
},
|
||||
{
|
||||
id : 'paste_b',
|
||||
label : 'Paste Cell Above',
|
||||
label : 'Paste Cell Below',
|
||||
icon : 'ui-icon-clipboard',
|
||||
callback : function () {
|
||||
IPython.notebook.paste_cell_above();
|
||||
IPython.notebook.paste_cell_below();
|
||||
}
|
||||
}
|
||||
],'cut_copy_paste');
|
||||
|
@ -142,8 +142,8 @@ var IPython = (function (IPython) {
|
||||
that.control_key_active = false;
|
||||
return false;
|
||||
} else if (event.which === 86 && that.control_key_active) {
|
||||
// Paste above selected cell = v
|
||||
that.paste_cell_above();
|
||||
// Paste below selected cell = v
|
||||
that.paste_cell_below();
|
||||
that.control_key_active = false;
|
||||
return false;
|
||||
} else if (event.which === 68 && that.control_key_active) {
|
||||
|
Loading…
Reference in New Issue
Block a user