I am unable to add editor to my frontend in my custom component and unable to find any help online as well. Is it supposed to be something really simple?
I got this code from somewhere but even this is showing simple textarea, I have also checked the user’s editor option and tried setting it to TinyMCE manually but it still shows simple plain textarea
jimport( 'joomla.html.editor' );
$editor =& JEditor::getInstance();
echo $editor->display("jobdesc", ""/*$itemData['body']*/, "400", "100", "150", "10", 1, null, null, null, array('mode' => 'advanced'));
You can load the editor with JFactory.
http://docs.joomla.org/JFactory/getEditor