Merge pull request #11 from marten-seemann/master
make it possible to use multiple TinyMCE instances on one page
This commit is contained in:
commit
2247cf8b67
@ -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