I created a view with edit layout containing JCE in Form.
All works fine as separate page.
But once I wanted to load this page as RAW inside another Joomla component page (basically adding &format=raw to link) I am starting to get the following error:
Checked and debugged the code and indeed , when I call "$this->form->getInput('authorBioEditor')" in my code , it goes into Editor's (JCE) display() function and there , inside initialize() function callsFatal error: Call to undefined method JDocumentRaw::addCustomTag() in C:\wamp64\www\Maxima\libraries\joomla\html\editor.php on line 258
Code: Select all
$document = JFactory::getDocument(); $document->addCustomTag($return);
Is this correct and is there a way to work around it ?