nl_tokens: Initializes the plugin this will be executed after the plugin has been created . This call is done before the editor instance has finished it s initialization so use the onInit event of the editor instance to intercept that event .
pl_tokens: function ( ed , url ) { var t = this ; // Add a key down handler ed . onKeyDown . addToTop ( function ( ed , e ) { if ( e . keyCode == 13 ) return t . handleEnter ( ed ) ; } ) ; // Internet Explorer has built-in automatic linking for most cases if ( tinyMCE . isIE ) return ; ed . onKeyPress . add ( function ( ed , e ) { if ( e . which == 41 ) return t . handleEclipse ( ed ) ; } ) ; // Add a key up handler ed . onKeyUp . <mask> ( function ( ed , e ) { if ( e . keyCode == 32 ) return t . handleSpacebar ( ed ) ; } ) ; }