I created a plugin that opens tinyMCEPopup. In tinyMCEPopup, I have several text fields and they should be tinyMCE text areas. The following is a simplified example of a popup file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
</head>
<body>
<form action="#" id="multiBoxes">
<textarea name="content" id="content" cols="50" rows="15" ></textarea>
</form>
</body>
</html>
I tried to run init () or tinyMCE.execCommand('mceAddControl', false, 'content');... but that wont work! Any suggestion?!
thank
Marco
Marco source
share