Ich habe ein Plugin erstellt, das ein tinyMCEPopup öffnet. Im tinyMCEPopup habe ich mehrere Textareas und brauche sie als winzige MCE-Textareas. Hier ist ein vereinfachte Beispiel der Pop-up-Datei:tinyMCE textarea in einem tinyMCEPopup
<!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>
Ich habe versucht, die init() es oder tinyMCE.execCommand('mceAddControl', false, 'content');
... aber es funktioniert nicht! Irgendein Vorschlag ?!
Dank
Marco
Ja, natürlich, sie sind einzigartig, und ich überprüfe, ob sie korrekt sind ... sie sind = ( Danke – Marco
Ich denke, dass Sie den execCommand von tinyMCEPopup aufrufen müssen – Thariama