聯(lián)系官方銷售客服
1835022288
028-61286886
<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>
用之前帖子的這個(gè)方法給評論區(qū)增加了工具欄,評論正常,但是回復(fù)就會提示:
并且不能發(fā)表情,同時(shí)評論內(nèi)容還會帶html標(biāo)簽。
怎么可以優(yōu)化下?
回復(fù)功能不支持編輯器的,改成textera文本框吧