mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-17 12:39:54 +08:00
Always refresh the CM editor upon TextCell unrender.
This commit is contained in:
parent
b976804051
commit
e847a31348
@ -193,9 +193,8 @@ var IPython = (function (IPython) {
|
|||||||
text_cell.find('div.text_cell_input').show();
|
text_cell.find('div.text_cell_input').show();
|
||||||
if (this.get_text() === this.placeholder) {
|
if (this.get_text() === this.placeholder) {
|
||||||
this.set_text('');
|
this.set_text('');
|
||||||
this.refresh();
|
|
||||||
}
|
}
|
||||||
|
this.refresh();
|
||||||
}
|
}
|
||||||
return cont;
|
return cont;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user