聯(lián)系官方銷售客服
1835022288
028-61286886
editor.setContent("追加內(nèi)容", true);
快快快,又出問(wèn)題了;
源代碼:
<script> editor.setContent("追加內(nèi)容", true); }); <script> 運(yùn)行后就報(bào)下面的錯(cuò)誤。
Uncaught ReferenceError: editor is not defined at HTMLDocument.<anonymous> (admin.php?s=shop&c=home&m=add&catid=0:490) at j (jquery.min.js?v=20201029211619:2) at Object.fireWith [as resolveWith] (jquery.min.js?v=20201029211619:2) at Function.ready (jquery.min.js?v=20201029211619:2) at HTMLDocument.I (jquery.min.js?v=20201029211619:2)
寫在最后試一試,要寫在編輯器加載完畢之后
已經(jīng)可以了,我一直在找創(chuàng)建編輯器的ID dr_content 這個(gè)名字一直沒(méi)看到在哪初始化的。
唯一的創(chuàng)建編輯器也只有
再次對(duì)官方技術(shù)支持表示高度的肯定、認(rèn)可、支持!
迅睿無(wú)論是標(biāo)簽的便捷性,還是自己寫PHP函數(shù)上,都非常方便!
迅睿不火,天理不容!