Jump to content

[SOLVED] TinyMCE not loading in IE


emma57573

Recommended Posts

I am using TinyMCE (Im actually not that keen on it because of loading issues so if anyone has a better alternative fire away!)

Anyway Its been working fine for a couple of months now and I changed the code slightly the other day to include an update and fix a couple of issues. Now I have a mac and its working great in Firefox, Safari and Opera but I had a couple of customers complaining that they cant see the editor using IE its throwing a Javascript error instead and they get a plain text field box.

 

Anyone have any idea where the error is? Im not too hot on Javascript to say the least so problem solving in Javascript is not my strong point here (really is about time I learnt!)

 

Ive tried TinyMCE support but there forum restricts you to only reporting actual bugs :(

 

<!-- TinyMCE -->
<script type="text/javascript" src="/js/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
	// General options
	mode : "textareas",
	theme : "advanced",
	plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",

	// Theme options
	theme_advanced_buttons1 : "bold,italic,underline|,justifyleft,justifycenter,justifyright,justifyfull",
	theme_advanced_buttons2 : "pastetext,pasteword,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|cleanup,code,|,preview",
	theme_advanced_buttons3 : "charmap,iespell,advhr|,ltr,rtl,|,fullscreen",
	theme_advanced_buttons4 : "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_statusbar_location : "bottom",
	theme_advanced_resizing : true,

	// Example content CSS (should be your site CSS)
	content_css : "styles2.css",

	// Drop lists for link/image/media/template dialogs

	external_link_list_url : "lists/link_list.js",
	external_image_list_url : "lists/image_list.js",


	// Replace values for the template plugin

});
</script>
<!-- /TinyMCE -->

 

There should'nt be an issue in the JS file as I havnt changed that since download so it must be the above script that I have edited

 

 

Link to comment
https://forums.phpfreaks.com/topic/134198-solved-tinymce-not-loading-in-ie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.