Jump to content

Multiple instances of TinyMCE


Recommended Posts

Hi all, ive installed tinymce on my website only on a page with multiple textareas it isnt showing, it only shows on the first area, Ive googled this and found nothing in the wiki documentation, has any idea why?

 

my javascript for tinymce is

<script type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>

<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",

// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "cut,copy,paste,bullist,numlist,|,outdent,indent,blockquote,forecolor,backcolor,link,unlink",

theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : false,

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

// Drop lists for link/image/media/template dialogs
template_external_list_url : "js/template_list.js",
external_link_list_url : "js/link_list.js",
external_image_list_url : "js/image_list.js",
media_external_list_url : "js/media_list.js",

// Replace values for the template plugin

});

</script>

 

and my textarea's are all similiar too

<textarea name="copy" id="copy" cols="50" rows="5"><?php echo KT_escapeAttribute($row_competitions['copy']); ?></textarea>

Link to comment
https://forums.phpfreaks.com/topic/203614-multiple-instances-of-tinymce/
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.