2014-09-02, 08:17 PM
Hello again!
In newthread.php I open a window with javascript "window.open" in this window I have a text that I would put this text in the message textarea editor? Any idea?
In MyBB 1.6 so I did:
In newthread.php I open a window with javascript "window.open" in this window I have a text that I would put this text in the message textarea editor? Any idea?
In MyBB 1.6 so I did:
<script type="text/javascript">
var editor = eval('opener.' + 'clickableEditor');
function insert()
{
if(editor)
{
editor.performInsert("Text!!!", "", true, false);
}
}
</script>