I'm developing a module for 3.x and I'd like to include an editor in the front end.
I've tried:
jimport( 'joomla.html.editor' );
$editor =& JEditor::getInstance();
echo $editor->display("desc", "my text", "600", "400", "80", "15",1);
which shows the text area but no buttons. It throws a Uncaught ReferenceError: Joomla is not defined error.
Is it possible to use the editor in a module or will I need to use one of the other free JQuery editors instead.
thanks
I've tried:
jimport( 'joomla.html.editor' );
$editor =& JEditor::getInstance();
echo $editor->display("desc", "my text", "600", "400", "80", "15",1);
which shows the text area but no buttons. It throws a Uncaught ReferenceError: Joomla is not defined error.
Is it possible to use the editor in a module or will I need to use one of the other free JQuery editors instead.
thanks