@@ -379,7 +379,7 @@ var MultiColumnWizard = new Class(
379379 var counter = 0 ;
380380
381381 // get a list with tinymces
382- tinyMCE . editors . each ( function ( item , index ) {
382+ tinymce . editors . each ( function ( item , index ) {
383383 if ( item . editorId . match ( myRegex ) != null )
384384 {
385385 tinyMCEEditors [ counter ] = item . editorId ;
@@ -390,8 +390,8 @@ var MultiColumnWizard = new Class(
390390 // clear tinymces
391391 tinyMCEEditors . each ( function ( item , index ) {
392392 try {
393- var editor = tinyMCE . get ( item ) ;
394- $ ( editor . editorId ) . set ( 'text' , editor . getContent ( ) ) ;
393+ var editor = tinymce . get ( item ) ;
394+ $ ( editor . editorId ) . set ( 'text' , editor . getContent ( ) ) ;
395395 editor . remove ( ) ;
396396 } catch ( e ) {
397397 console . log ( e )
@@ -433,11 +433,11 @@ var MultiColumnWizard = new Class(
433433 var varTinys = parent . getElements ( '.tinymce textarea' ) ;
434434
435435 varTinys . each ( function ( item , index ) {
436- tinyMCE . execCommand ( 'mceAddControl' , false , item . get ( 'id' ) ) ;
437- tinyMCE . get ( item . get ( 'id' ) ) . show ( ) ;
438436
437+ tinymce . execCommand ( 'mceAddControl' , false , item . get ( 'id' ) ) ;
438+ tinymce . get ( item . get ( 'id' ) ) . show ( ) ;
439439 $ ( item . get ( 'id' ) ) . erase ( 'required' ) ;
440- $ ( tinyMCE . get ( item . get ( 'id' ) ) . editorContainer ) . getElements ( 'iframe' ) [ 0 ] . set ( 'title' , 'MultiColumnWizard - TinyMCE' ) ;
440+ $ ( tinymce . get ( item . get ( 'id' ) ) . editorContainer ) . getElements ( 'iframe' ) [ 0 ] . set ( 'title' , 'MultiColumnWizard - TinyMCE' ) ;
441441 } ) ;
442442 } ,
443443
0 commit comments