Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Temporary fix for placeholder related CM bug.

  • Loading branch information...
commit 876e6892d239cf87251e3d88244baf7826afb09e 1 parent 0bfb0fb
@ellisonbg ellisonbg authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 IPython/frontend/html/notebook/static/js/textcell.js
View
8 IPython/frontend/html/notebook/static/js/textcell.js
@@ -15,7 +15,7 @@ var IPython = (function (IPython) {
var TextCell = function (notebook) {
this.code_mirror_mode = this.code_mirror_mode || 'htmlmixed';
- this.placeholder = this.placeholder || '';
+ this.placeholder = this.placeholder || '𝄆';
IPython.Cell.apply(this, arguments);
this.rendered = false;
this.cell_type = this.cell_type || 'text';
@@ -159,7 +159,7 @@ var IPython = (function (IPython) {
// HTMLCell
var HTMLCell = function (notebook) {
- this.placeholder = "Type <strong>HTML</strong> and LaTeX: $\\alpha^2$";
+ this.placeholder = "&#x1D106; Type <strong>HTML</strong> and LaTeX: $\\alpha^2$";
IPython.TextCell.apply(this, arguments);
this.cell_type = 'html';
};
@@ -184,7 +184,7 @@ var IPython = (function (IPython) {
// MarkdownCell
var MarkdownCell = function (notebook) {
- this.placeholder = "Type *Markdown* and LaTeX: $\\alpha^2$";
+ this.placeholder = "&#x1D106; Type *Markdown* and LaTeX: $\\alpha^2$";
IPython.TextCell.apply(this, arguments);
this.cell_type = 'markdown';
};
@@ -222,7 +222,7 @@ var IPython = (function (IPython) {
// RSTCell
var RSTCell = function (notebook) {
- this.placeholder = "Type *ReStructured Text* and LaTeX: $\\alpha^2$";
+ this.placeholder = "&#x1D106; Type *ReStructured Text* and LaTeX: $\\alpha^2$";
IPython.TextCell.apply(this, arguments);
this.cell_type = 'rst';
};
Please sign in to comment.
Something went wrong with that request. Please try again.