| 插件名稱 | Ueditor百度編輯器 V1.18 |
| 插件作者 | 迅睿官方自營 |
| 最近更新 | 2025-04-30 13:42:29 |
| 修復(fù)圖片上傳失敗的錯誤 |
我采用
<div class="chat_input" method="post" id="myform1">
<?php echo dr_fieldform('{"name":"聊天內(nèi)容","fieldname":"chatContent","ismain":"1","fieldtype":"Ueditor","setting":{"option":{"enter":"0","down_img":"0","watermark":"0","show_bottom_boot":"0","autofloat":"0","remove_style":"0","div2p":"0","duiqi":"0","autoheight":"0","page":"0","mode":"3","tool":"\'emotion\',\'attachment\'","mode2":"3","tool2":"\'emotion\',\'attachment\'","mode3":"3","tool3":"\'emotion\',\'attachment\'","attachment":"0","image_endstr":"","value":"","width":"100%","height":"130","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}},"ismember":"1"}', $chatContent, 1, 1);?>
<button class="sendButton" onclick="send()"><span class="sendText">發(fā)送</span></button>
</div>
生成百度富文本框后,不清楚應(yīng)該如何獲取富文本框內(nèi)的數(shù)據(jù),請教諸位大佬,如何獲取dr_fieldform生成的百度富文本框內(nèi)的數(shù)據(jù)?

開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
參考文檔:《百度編輯器:setContent和getContent》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!