評論調(diào)用編輯器,點擊回復生成編輯器后,在點擊下面的編輯器按鈕,會使上面的編輯器生效 怎么才能點擊對應編輯器按鈕對應編輯器的生效
<?php $s= dr_field_form([
'name' => '內(nèi)容',
'ismain' => 1,
'fieldtype' => 'Ueditor',
'fieldname' => 'content',
'setting' => array('option' => array( 'attachment'=>'', 'mode' => 3, 'height' => 220, 'width' => '100%', 'tool' => IS_PC ? '\'undo\', \'bold\', \'forecolor\',\'simpleupload\', \'attachment\', \'insertimage\', \'insertcode\'' : '\'undo\', \'bold\', \'image\''), 'validate' => array('xss' => 1))
]);
echo $s;
?>
編輯器的名字不能一樣了,回復編輯器建議使用textear,不要用ueditor1
開源是一種精神,但不是義務,幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!