/** * 预览 * @file * @since 1.2.6.1 */ /** * 预览 * @command preview * @method execCommand * @param { String } cmd 命令字符串 * @example * ```javascript * editor.execCommand( 'preview' ); * ``` */ UE.commands['preview'] = { execCommand : function(){ var w = window.open('', '_blank', ''), d = w.document; d.open(); d.write('