にjbimagesプラグインを追加しようとしていますTinyMCE
。構成の行
に追加,jbimages
すると、読み込みに失敗し、FireBug のコンソールに次のエラーが表示されます。 plugins:
TinyMCE
TinyMCE
TypeError: this.getDoc() is undefined
http://localhost/proj/client/js/tiny_mce/tiny_mce.js
Line 1
失敗する私のTinyMCE
構成はこれです:
tinyMCE.init({
// General options
mode : "exact",
elements : "question",
theme : "advanced",
plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,visualblocks,jbimages",
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,ltr,rtl,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_resizing : true,
language : 'fa',
directionality : "rtl",
// Drop lists for link/image/media/template bloglists
template_external_list_url : "lists/template_list.js",
external_link_list_url : "lists/link_list.js",
external_image_list_url : "lists/image_list.js",
media_external_list_url : "lists/media_list.js",
relative_urls:false,
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
何が問題ですか?
ありがとう