让Pligg 支持所见即所得发贴 安装说明: 1.) 解压下载的文件包解压把editor目录上传到你的pligg根目录下 2.) 打开templates目录你所用模板目录里的footer.tpl文件,在文件最后加入以下内容 HTML: <!--WYSIWYG Editor --> <script language="javascript" type="text/javascript" src="{$my_base_url}{$my_pligg_base}/editor/tiny_mce_gzip.php"></script> {literal} <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "advanced", theme_advanced_buttons1 : "bold,italic,underline,forecolor,separator,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,undo,redo,link,unlink,separator,code", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]" }); </script> {/literal} <!--// WYSIWYG Editor --> 这样就让pligg支持所见即所得了可以直接复制别的网页内容了。。