make it possible to use multiple TinyMCE instances on one page
This commit is contained in:
parent
faffc8ea68
commit
187dad1b87
@ -3,7 +3,7 @@
|
|||||||
var tinyMCE = null;
|
var tinyMCE = null;
|
||||||
function copyLongDescFromTinyMCE(sIdent)
|
function copyLongDescFromTinyMCE(sIdent)
|
||||||
{
|
{
|
||||||
var editor = tinyMCE.activeEditor;
|
var editor = tinyMCE.get("editor_" + sIdent);
|
||||||
if (editor && editor.isHidden() !== true)
|
if (editor && editor.isHidden() !== true)
|
||||||
{
|
{
|
||||||
var content = editor.getContent({format : 'raw'});
|
var content = editor.getContent({format : 'raw'});
|
||||||
|
Loading…
Reference in New Issue
Block a user