diff --git a/IPython/frontend/html/notebook/static/js/panelsection.js b/IPython/frontend/html/notebook/static/js/panelsection.js index 71672d5..ebc8038 100644 --- a/IPython/frontend/html/notebook/static/js/panelsection.js +++ b/IPython/frontend/html/notebook/static/js/panelsection.js @@ -164,9 +164,9 @@ var IPython = (function (IPython) { this.content.find('#to_code').click(function () { IPython.notebook.to_code(); }); - this.content.find('#to_html').click(function () { - IPython.notebook.to_html(); - }); +// this.content.find('#to_html').click(function () { +// IPython.notebook.to_html(); +// }); this.content.find('#to_markdown').click(function () { IPython.notebook.to_markdown(); }); diff --git a/IPython/frontend/html/notebook/static/js/textcell.js b/IPython/frontend/html/notebook/static/js/textcell.js index ed3bb78..280ceef 100644 --- a/IPython/frontend/html/notebook/static/js/textcell.js +++ b/IPython/frontend/html/notebook/static/js/textcell.js @@ -72,6 +72,9 @@ var IPython = (function (IPython) { this.code_mirror.focus(); this.code_mirror.refresh(); this.rendered = false; + if (this.get_source() === this.placeholder) { + this.set_source(''); + }; }; }; diff --git a/IPython/frontend/html/notebook/templates/notebook.html b/IPython/frontend/html/notebook/templates/notebook.html index 71be3d1..0bca8ed 100644 --- a/IPython/frontend/html/notebook/templates/notebook.html +++ b/IPython/frontend/html/notebook/templates/notebook.html @@ -86,7 +86,7 @@