Show More
@@ -164,9 +164,9 b' var IPython = (function (IPython) {' | |||
|
164 | 164 | this.content.find('#to_code').click(function () { |
|
165 | 165 | IPython.notebook.to_code(); |
|
166 | 166 | }); |
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
167 | // this.content.find('#to_html').click(function () { | |
|
168 | // IPython.notebook.to_html(); | |
|
169 | // }); | |
|
170 | 170 | this.content.find('#to_markdown').click(function () { |
|
171 | 171 | IPython.notebook.to_markdown(); |
|
172 | 172 | }); |
@@ -72,6 +72,9 b' var IPython = (function (IPython) {' | |||
|
72 | 72 | this.code_mirror.focus(); |
|
73 | 73 | this.code_mirror.refresh(); |
|
74 | 74 | this.rendered = false; |
|
75 | if (this.get_source() === this.placeholder) { | |
|
76 | this.set_source(''); | |
|
77 | }; | |
|
75 | 78 | }; |
|
76 | 79 | }; |
|
77 | 80 |
@@ -86,7 +86,7 b'' | |||
|
86 | 86 | <div class="section_row"> |
|
87 | 87 | <span id="cell_type" class="section_row_buttons"> |
|
88 | 88 | <button id="to_code">Code</button> |
|
89 |
|
|
|
89 | <!-- <button id="to_html">HTML</button>--> | |
|
90 | 90 | <button id="to_markdown">Markdown</button> |
|
91 | 91 | </span> |
|
92 | 92 | <span class="button_label">Format</span> |
General Comments 0
You need to be logged in to leave comments.
Login now