mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Removed HTMLCell from UI and added better placeholder logic.
This commit is contained in:
parent
0f3bc468e3
commit
cff986a539
@ -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('');
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -86,7 +86,7 @@
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user