<div class="ds-textarea-wrapper ds-rounded-top">
<?php echo str_replace("data[content]", "content",dr_fieldform('{"name":"編輯器","fieldname":"content","ismain":"1","fieldtype":"Ueditor","setting":{"option":{"down_img":"1","watermark":"0","show_bottom_boot":"0","autofloat":"0","remove_style":"0","div2p":"0","autoheight":"1","page":"0","mode":"1","tool":"\'bold\', \'italic\', \'underline\'","mode2":"2","tool2":"\'bold\', \'italic\', \'underline\'","mode3":"2","tool3":"\'bold\', \'italic\', \'underline\'","attachment":"0","image_reduce":"","value":"","width":"100%","height":"300","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}},"ismember":"1"}', ""));?>
</div>
<div class="ds-post-toolbar">
<div class="ds-post-options ds-gradient-bg"></div>
<button class="ds-post-button" type="button" onclick="dr_post_comment()">提交</button>
</div>
用之前帖子的這個方法給評論區(qū)增加了工具欄,評論正常,但是回復就會提示:

并且不能發(fā)表情,同時評論內(nèi)容還會帶html標簽。
怎么可以優(yōu)化下?
回復功能不支持編輯器的,改成textera文本框吧
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!