ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

投訴 已解決 前臺評論區如何調用百度編輯器 4 0
56756565ma(前端和PHP) VIP會員 OEM版權 2021-01-14 16:55:43 私信
迅睿CMS版本:4.3.13

前臺評論區如何調用百度編輯器?,F有的評論輸入沒有加粗,圖片上傳等功能,想做成類似我們論壇回復一樣的輸入框樣式,如何調用百度編輯器,試了輸出百度編輯器的控件代碼,但是沒辦法傳遞輸入內容,不會用。







解決方案
  • 你還是把圖片二的代碼發來吧,我給你改成現成的代碼,我一樓的說明你可能理解不了

  • <div class="ds-textarea-wrapper ds-rounded-top">

    <?php echo dr_fieldform('{"name":"編輯器","fieldname":"bianjiqi","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"}', $bianjiqi);?>

    <textarea class="J_CmFormField" name="content" placeholder="說點什么吧…">

    </textarea>

    </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 class="ds-toolbar-buttons">

    <a class="ds-toolbar-button ds-add-emote" onclick="dr_show_bq()" title="插入表情"></a>

    </div>

    </div>

  • <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>
    滿意答案
    開源積分+10
  • @官方插件技術-實習:感謝技術大大,完美解決。本問題已解決。