Open Aybee opened 8 years ago
why would you use tinyCustom for everything and not just change tinyMCE ?
If I change tinyMCE.php, it's not update safe.
why would you use tinyCustom for everything and not just change tinyMCE ?
That's not recommended, since these changes will get lost during an update. The recommended way is described here in the official Contao cookbook: https://docs.contao.org/books/cookbook/customizing-contao/customizing-tinymce.html
Please create a pull request for the necessary changes, but make sure to follow PSR-2 coding style.
Also be aware that this is no longer necessary in Contao 4, as the tinyMCE file is now a template that will not be overwritten on update.
Hello, mostly people wish that a tinyCustom.php gets used for all fields that actually use the tinyMCE.php configuration.
I think on this page https://docs.contao.org/books/cookbook/customizing-contao/customizing-tinymce.html we should add the solution for achieving this.