This is the code I am using...
Code:
if ($perms['comment'])
{
require_once(DIR . '/includes/functions_editor.php');
$show['qr_require_click'] = 0;
$editorid = construct_edit_toolbar('',0,'nonforum',1,1,0,'qr_small');
}
Code:
$templater->register('editorid', $editorid);
$templater->register('messagearea', $messagearea);
But I keep getting the following error:
Uncaught ReferenceError: vB_Text_Editor is not defined
As well, none of the buttons on the QR work. If I change the editor to FE, it works fine without error.