Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed HTMLCell from UI and added better placeholder logic.

  • Loading branch information...
commit eb895bf2efe953059546389f3a5e4216ee5a84b6 1 parent 486e84f
@ellisonbg ellisonbg authored
View
6 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();
});
View
3  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('');
+ };
};
};
View
2  IPython/frontend/html/notebook/templates/notebook.html
@@ -86,7 +86,7 @@ <h3 class="section_header">Cell</h3>
<div class="section_row">
<span id="cell_type" class="section_row_buttons">
<button id="to_code">Code</button>
- <button id="to_html">HTML</button>
+<!-- <button id="to_html">HTML</button>-->
<button id="to_markdown">Markdown</button>
</span>
<span class="button_label">Format</span>
Please sign in to comment.
Something went wrong with that request. Please try again.