mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
edit text cells on double-click instead of single-click
Single-click to edit gets in the way of using interactive elements (e.g. non-flash videos), and select/copy of the rendered HTML. Switching to double-click makes the edit action more intentional.
This commit is contained in:
parent
289b3808f7
commit
5cce816d2a
@ -89,7 +89,7 @@ var IPython = (function (IPython) {
|
||||
TextCell.prototype.config_mathjax = function () {
|
||||
var text_cell = this.element;
|
||||
var that = this;
|
||||
text_cell.click(function () {
|
||||
text_cell.dblclick(function () {
|
||||
that.edit();
|
||||
}).focusout(function () {
|
||||
that.render();
|
||||
|
Loading…
Reference in New Issue
Block a user