PHP網(wǎng)頁(yè) Ewebeditor 編輯器嵌入方法
<script>
function checkForm()
{
document.form1.content .value = window.ewebeditor .getHTML();
************getHTML() 獲得編輯區(qū)內(nèi)容
************ 此處的名字 ewebeditor 要與 iframe 中的 name="ewebeditor" 相同
************content.value 也要與 content 中的 <input > 中相對(duì)應(yīng)
}
</script>
(2)下面一段代碼是把 ewebeditor 嵌入到網(wǎng)頁(yè)中:
<tr>
<td align="right" width="5%" > 內(nèi)容: </td>
<td width="95%">
<input type="hidden" name="content" id="content" value ="">
**********id="content" 中的 content 要與 <iframe> 中的 id=content 相同!
<iframe id="ewebeditor" name="ewebeditor" src="ewebeditor/ewebeditor.php?id=content " frameborder="0" scrolling="no" width="100%" HEIGHT="450">
</iframe>
</td>
</tr>
相關(guān)文章
PHP網(wǎng)頁(yè) Ewebeditor 編輯器嵌入方法
因?yàn)閑webeditor編輯器的功能強(qiáng)大,容易擴(kuò)展等原因,一直是大家比較喜愛(ài)的編輯器,所以下面介紹下ewebeditor如何跟php結(jié)合。2009-07-07eWebEditor_v280_Free_Final最好用的網(wǎng)頁(yè)編輯器下載
eWebEditor_v280_Free_Final最好用的網(wǎng)頁(yè)編輯器下載...2007-09-09FCKeditor提供了一個(gè)完整的JavaScript API
FCKeditor提供了一個(gè)完整的JavaScript API(Application Public Interface),你可以利用這些API來(lái)處理FCK編輯器,只要它被加載完成或在正在運(yùn)行中.2009-12-12FCKeditor 插件開(kāi)發(fā) 示例(詳細(xì)版本)
2009-06-06FCKeditor smarty 編輯器的應(yīng)用PHP
自己仔細(xì)研究一下很容易解決你這個(gè)問(wèn)題的。這并不是一個(gè)很困難的任務(wù)。其實(shí)這里很多都是菜鳥(niǎo)級(jí)別的2012-07-07ckeditor插件開(kāi)發(fā)簡(jiǎn)單實(shí)例
我需要在編輯文本的時(shí)候,選擇一段文字,點(diǎn)擊自定義的按鈕,就能夠在這段文字后面增加一個(gè)圖標(biāo),圖標(biāo)超鏈接去一個(gè)地址,以選中的文字作為參數(shù)2013-07-07關(guān)于jsp版ueditor1.2.5的部分問(wèn)題解決(上傳圖片失敗)
這篇文章主要介紹大家在使用jsp版ueditor1.2.5的碰到的一些問(wèn)題解決方法,需要的朋友可以參考下2013-06-06常用網(wǎng)頁(yè)編輯器漏洞手冊(cè)(全面版)fckeditor,ewebeditor
常用網(wǎng)頁(yè)編輯器漏洞手冊(cè)(全面版)fckeditor,ewebeditor,使用這類編輯器的朋友一定要注意下。2011-04-04