
Untitled
By: a guest on
Apr 24th, 2012 | syntax:
None | size: 0.90 KB | hits: 11 | expires: Never
tinyMCE editor not able to insert content in another textareas while it allows only first text area
var configArray = [{
theme : "advanced",
mode : "none",
language : "en",
height:"200",
width:"100%",
theme_advanced_layout_manager : "SimpleLayout",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : ""
},{
theme : "advanced",
mode : "none",
language : "en",
width:"100%",
theme_advanced_layout_manager : "SimpleLayout",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left"`enter code here`
}];
tinyMCE.settings = configArray[0];
tinyMCE.execCommand('mceAddControl', true, "overview");
tinyMCE.settings = configArray[1];
tinyMCE.execCommand('mceAddControl', true, "key_featured");