nl_tokens: 关闭实时预览 Disable real - time watching
pl_tokens: function ( callback ) { var settings = this . settings ; this . state . watching = settings . watch = false ; this . preview . hide ( ) ; if ( this . toolbar ) { var watchIcon = <mask> . toolbarIconsClass . watch ; var unWatchIcon = settings . toolbarIconsClass . unwatch ; var icon = this . toolbar . find ( ".fa[name=watch]" ) ; icon . parent ( ) . attr ( "title" , settings . lang . toolbar . unwatch ) ; icon . removeClass ( watchIcon ) . addClass ( unWatchIcon ) ; } this . codeMirror . css ( "border-right" , "none" ) . width ( this . editor . width ( ) ) ; this . resize ( ) ; if ( ! settings . onunwatch ) { settings . onunwatch = callback || function ( ) { } ; } $ . proxy ( settings . onunwatch , this ) ( ) ; return this ; }