從Discuz分離的網頁編輯器,大家可以加到自己的頁面上複製代碼代碼如下:
<!DOCTYPEHTMLPUBLIC-//W3C//DTDHTML4.0Transitional//EN>
<html>
<head>
<metahttp-equiv=Content-Typecontent=text/html;charset=gbk>
<title>Discuz編輯器</title>
<metaname=keywordscontent=Discuz編輯器>
<metaname=descriptioncontent=Discuz編輯器>
<metaname=generatorcontent=Discuz!5.0.0withTemplates5.0.0>
<metaname=MSSmartTagsPreventParsingcontent=TRUE>
<metahttp-equiv=MSThemeCompatiblecontent=Yes>
</head>
<br/>
調用方法請看本例源碼。 <br/>
UBB代碼顯示:在要顯示的頁麵包含ubb.asp這個文件<br/>
如下顯示:Ubbcode(server.htmlencode(request(content)))<br/>
<formmethod=postaction=?action=add>
<tablecellspacing=1border=1>
<tr>
<thcolspan=2>添加貼子</th>
</tr>
<tr>
<tdwidth=26>標題</td>
<tdwidth=699style=text-align:left><inputtype=textname=titlesize=42>
</td>
</tr>
<tr>
<td>內容</td>
<td>
<textareaname=contentcols=80rows=2style=display:none></textarea>
<iframeID=Editorname=Editorsrc=edit.htm?id=contentframeBorder=0marginHeight=0marginWidth=0scrolling=Nostyle=height:320px;width:100%></iframe>
</td>
</tr>
<tr>
<tdcolspan=2>
<divalign=center>
<inputtype=submitvalue=添加內容>
<inputtype=resetvalue=重新填寫>
</div></td>
</tr>
</table>
</form>
</body>
</html>