Put this into system/config/dcaconfig.php
PHP Code:
$GLOBALS['TL_DCA']['tl_news']['fields']['teaser']['eval']['rte'] = '';
// or this one
unset($GLOBALS['TL_DCA']['tl_news']['fields']['teaser']['eval']['rte']);
This is update proof.
You also can setup your own system/config/tinyMCE.php e.g. tinyCustom.php, then you have to use this.
PHP Code:
$GLOBALS['TL_DCA']['tl_news']['fields']['teaser']['eval']['rte'] = 'tinyCustom';
If you want to change all tinyMCE.php with tinyCustom.php you can use this one.
PHP Code:
// use tinyCustom for all textareas that use tinyMCE
array_walk_recursive($GLOBALS['TL_DCA'], function(&$v, $k){
if($k === 'rte' && $v === 'tinyMCE')
{
$v = 'tinyCustom';
}
});
Bookmarks