diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index c21a136..25afa3f 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -132,8 +132,14 @@ var IPython = (function (IPython) { $(this.code_mirror.getInputField()).attr("spellcheck", "false"); inner_cell.append(input_area); input.append(prompt).append(inner_cell); + + var widget_area = $('
').addClass('widget_area'); + var widget_prompt = $('
').addClass('prompt'); + var widget_subarea = $('
').addClass('widget_subarea'); + widget_area.append(widget_prompt).append(widget_subarea); + var output = $('
'); - cell.append(input).append(output); + cell.append(input).append(widget_area).append(output); this.element = cell; this.output_area = new IPython.OutputArea(output, true); this.completer = new IPython.Completer(this);