从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>