Merge pull request #11 from marten-seemann/master

make it possible to use multiple TinyMCE instances on one page
This commit is contained in:
Marat Bedoev 2013-12-18 02:15:05 -08:00
commit 2247cf8b67

View File

@ -3,7 +3,7 @@
var tinyMCE = null;
function copyLongDescFromTinyMCE(sIdent)
{
var editor = tinyMCE.activeEditor;
var editor = tinyMCE.get("editor_" + sIdent);
if (editor && editor.isHidden() !== true)
{
var content = editor.getContent({format : 'raw'});