nl_tokens: 显示编辑器部分，退出只预览HTML Exit preview html state
pl_tokens: function ( ) { var editor = this . editor ; var preview = this . preview ; var toolbar = this . toolbar ; var settings = this . settings ; var previewContainer = this . previewContainer ; var previewCloseBtn = editor . find ( "." + this . classPrefix + "preview-close-btn" ) ; this . state . preview = false ; this . codeMirror . show ( ) ; if ( settings . toolbar ) { toolbar . show ( ) ; } preview [ ( settings . watch ) ? "show" : "hide" ] ( ) ; previewCloseBtn . hide ( ) . unbind ( editormd . mouseOrTouch ( "click" , "touchend" ) ) ; previewContainer . removeClass ( this . classPrefix + "preview-active" ) ; if ( settings . watch ) { previewContainer . css ( "padding" , "20px" ) ; } preview . css ( { background : null , position : "absolute" , width : editor . width ( ) / 2 , height : ( settings . autoHeight && ! this . state . fullscreen ) ? "auto" : editor . <mask> ( ) - toolbar . height ( ) , top : ( settings . toolbar ) ? toolbar . height ( ) : 0 } ) ; if ( this . state . loaded ) { $ . proxy ( settings . onpreviewed , this ) ( ) ; } return this ; }