User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This tiny PR fix a small issue with TinyMCE editor. The javascript code defined in tinymce.min.js use code defined in media/system/js/core.js, so we need to call JHtml::_('behavior.core'); in TinyMCE editor plugin before tinymce.min.js is loaded
echo JFactory::getEditor()->display('description', '', '100%', '180', '90', '6'); . Access to Content -> Articles. Instead of seeing a HTML editor, you will only see a large textarea. If you look at the console of web browser, you will see this javascript error Uncaught ReferenceError: Joomla is not defined at tinymce-init.min.js:1
None
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End Plugins |
Thanks for testing @franz-wohlkoenig
However, you are using the wrong code. Please use this correct code (please copy it directly here):
echo JFactory::getEditor()->display('description', '', '100%', '180', '90', '6'); I have tested this item
Could someone help making another test? This is a backward incompatible issue. Below are the screenshot of a form in my extensions;
And as I mentioned before, there is an error in browser console Uncaught ReferenceError: Joomla is not defined at tinymce-init.min.js:1
I can easily add the command JHtml::_('behavior.core'); at the beginning of every form in my extesnions but I am worry that existing customers will get the issue when they update to 3.7.0. It is paid extension, so not everyone can update if their subscription expired.
I have tested this item
| Status | Pending | ⇒ | Ready to Commit |
RTC
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-01-05 17:55:39 |
| Closed_By | ⇒ | zero-24 |
Thanks
I have tested this item? unsuccessfully on 4629d68
Got
An error has occurred. 0 syntax error, unexpected '.', expecting end of fileafter modified content.php to