@@ -140,8 +140,8 @@ var IPython = (function (IPython) {
140140 that . control_key_active = false ;
141141 return false ;
142142 } else if ( event . which === 84 && that . control_key_active ) {
143- // To Plaintext = t
144- that . to_plaintext ( ) ;
143+ // To Raw = t
144+ that . to_raw ( ) ;
145145 that . control_key_active = false ;
146146 return false ;
147147 } else if ( event . which === 49 && that . control_key_active ) {
@@ -523,8 +523,8 @@ var IPython = (function (IPython) {
523523 cell = new IPython . MarkdownCell ( this ) ;
524524 } else if ( type === 'html' ) {
525525 cell = new IPython . HTMLCell ( this ) ;
526- } else if ( type === 'plaintext ' ) {
527- cell = new IPython . PlaintextCell ( this ) ;
526+ } else if ( type === 'raw ' ) {
527+ cell = new IPython . RawCell ( this ) ;
528528 } else if ( type === 'heading' ) {
529529 cell = new IPython . HeadingCell ( this ) ;
530530 } ;
@@ -557,8 +557,8 @@ var IPython = (function (IPython) {
557557 cell = new IPython . MarkdownCell ( this ) ;
558558 } else if ( type === 'html' ) {
559559 cell = new IPython . HTMLCell ( this ) ;
560- } else if ( type === 'plaintext ' ) {
561- cell = new IPython . PlaintextCell ( this ) ;
560+ } else if ( type === 'raw ' ) {
561+ cell = new IPython . RawCell ( this ) ;
562562 } else if ( type === 'heading' ) {
563563 cell = new IPython . HeadingCell ( this ) ;
564564 } ;
@@ -640,14 +640,14 @@ var IPython = (function (IPython) {
640640 } ;
641641
642642
643- Notebook . prototype . to_plaintext = function ( index ) {
643+ Notebook . prototype . to_raw = function ( index ) {
644644 var i = this . index_or_selected ( index ) ;
645645 if ( this . is_valid_cell_index ( i ) ) {
646646 var source_element = this . get_cell_element ( i ) ;
647647 var source_cell = source_element . data ( "cell" ) ;
648648 var target_cell = null ;
649- if ( ! ( source_cell instanceof IPython . PlaintextCell ) ) {
650- target_cell = this . insert_cell_below ( 'plaintext ' , i ) ;
649+ if ( ! ( source_cell instanceof IPython . RawCell ) ) {
650+ target_cell = this . insert_cell_below ( 'raw ' , i ) ;
651651 var text = source_cell . get_text ( ) ;
652652 if ( text === source_cell . placeholder ) {
653653 text = '' ;
0 commit comments