##// END OF EJS Templates
use null char to start text cell placeholders
MinRK -
Show More
@@ -15,7 +15,7 b' var IPython = (function (IPython) {'
15
15
16 var TextCell = function (notebook) {
16 var TextCell = function (notebook) {
17 this.code_mirror_mode = this.code_mirror_mode || 'htmlmixed';
17 this.code_mirror_mode = this.code_mirror_mode || 'htmlmixed';
18 this.placeholder = this.placeholder || '𝄆';
18 this.placeholder = this.placeholder || '\u0000';
19 IPython.Cell.apply(this, arguments);
19 IPython.Cell.apply(this, arguments);
20 this.rendered = false;
20 this.rendered = false;
21 this.cell_type = this.cell_type || 'text';
21 this.cell_type = this.cell_type || 'text';
@@ -159,7 +159,7 b' var IPython = (function (IPython) {'
159 // HTMLCell
159 // HTMLCell
160
160
161 var HTMLCell = function (notebook) {
161 var HTMLCell = function (notebook) {
162 this.placeholder = "&#x1D106; Type <strong>HTML</strong> and LaTeX: $\\alpha^2$";
162 this.placeholder = "\u0000Type <strong>HTML</strong> and LaTeX: $\\alpha^2$";
163 IPython.TextCell.apply(this, arguments);
163 IPython.TextCell.apply(this, arguments);
164 this.cell_type = 'html';
164 this.cell_type = 'html';
165 };
165 };
@@ -184,7 +184,7 b' var IPython = (function (IPython) {'
184 // MarkdownCell
184 // MarkdownCell
185
185
186 var MarkdownCell = function (notebook) {
186 var MarkdownCell = function (notebook) {
187 this.placeholder = "&#x1D106; Type *Markdown* and LaTeX: $\\alpha^2$";
187 this.placeholder = "\u0000Type *Markdown* and LaTeX: $\\alpha^2$";
188 IPython.TextCell.apply(this, arguments);
188 IPython.TextCell.apply(this, arguments);
189 this.cell_type = 'markdown';
189 this.cell_type = 'markdown';
190 };
190 };
@@ -222,7 +222,7 b' var IPython = (function (IPython) {'
222 // RSTCell
222 // RSTCell
223
223
224 var RSTCell = function (notebook) {
224 var RSTCell = function (notebook) {
225 this.placeholder = "&#x1D106; Type *ReStructured Text* and LaTeX: $\\alpha^2$";
225 this.placeholder = "\u0000Type *ReStructured Text* and LaTeX: $\\alpha^2$";
226 IPython.TextCell.apply(this, arguments);
226 IPython.TextCell.apply(this, arguments);
227 this.cell_type = 'rst';
227 this.cell_type = 'rst';
228 };
228 };
General Comments 0
You need to be logged in to leave comments. Login now