Closed GoogleCodeExporter closed 9 years ago
Update
File reference for message 1
function.js Line 15
Original comment by thomasan...@gmail.com
on 13 Mar 2008 at 1:31
According to this:
http://groups.google.pt/group/comp.lang.javascript/browse_thread/thread/dce5ede2
688ca7c0/783e46d2e17806eb?#783e46d2e17806eb
There is probably a clash with the name 'imgmap'.
Can you post here your tinyMCE.init configuration?
Also you can rename the class as for example class_imgmap and use it in the new
statement accordingly, like myimgap = new class_imgmap();
Original comment by adam.mas...@gmail.com
on 13 Mar 2008 at 2:35
Hi Adam
Her is the init config
I will try your suggestion
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins :
"cmsimage,imgmap,image,safari,pagebreak,style,layer,table,save,advhr,advimage,ad
vlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,p
rint,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbrea
king,xhtmlxtras,template",
// Theme options
theme_advanced_buttons1 :
"cmsimage,imgmap,save,newdocument,|,bold,italic,underline,strikethrough,|,justif
yleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect
,fontsizeselect",
theme_advanced_buttons2 :
"cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent
,indent,blockquote,|,undo,redo,|,link,unlink,anchor,cleanup,help,code,|,insertda
te,inserttime,preview,|,forecolor,backcolor",
theme_advanced_buttons3 :
"tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,
media,advhr,|,print,|,ltr,rtl,|,fullscreen",
theme_advanced_buttons4 :
"insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,
del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
extended_valid_elements :
"img[usemap|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmous
eover|onmouseout|name],map[id|name],area[shape|alt|coords|href|target]",
// Example content CSS (should be your site CSS)
content_css : "css/content.css",
// Drop lists for link/image/media/template dialogs
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",
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
Original comment by thomasan...@gmail.com
on 13 Mar 2008 at 5:41
Hi again I found the error.
the imgmap.js file was not included.
I took the file from your package and placed it in the plugin js folder.
Sorry for false alarms.
The language file needs som work though.
Original comment by thomasan...@gmail.com
on 13 Mar 2008 at 6:12
What you mean it was not included? It was not in the jscripts dir?
Yep, i have an other report for language, will check it in a moment.
Original comment by adam.mas...@gmail.com
on 13 Mar 2008 at 10:19
Ah the other report is you, too. Ok, i will reply there.
Original comment by adam.mas...@gmail.com
on 13 Mar 2008 at 10:33
ok, this issue came from incorrect installation of the plugin.
i updated the wiki about the plugin installation:
http://code.google.com/p/imgmap/wiki/TinyMCE_setup
i close this issue as invalid
Original comment by adam.mas...@gmail.com
on 9 Apr 2008 at 11:36
Original issue reported on code.google.com by
thomasan...@gmail.com
on 13 Mar 2008 at 1:25