exclude textareas with class mceNoEditor

This commit is contained in:
Marat Bedoev 2014-08-21 12:18:23 +02:00
parent 74fa09ab1f
commit 46d5f23807

View File

@ -45,7 +45,7 @@ class blaTinyMceOxViewConfig extends blaTinyMceOxViewConfig_parent
'language' => '"'.( in_array( $sLang, $aLang ) ? $aLang[$sLang] : 'en' ).'"', 'language' => '"'.( in_array( $sLang, $aLang ) ? $aLang[$sLang] : 'en' ).'"',
'height' => $cfg->getConfigParam( "sTinyMCE_height" ), 'height' => $cfg->getConfigParam( "sTinyMCE_height" ),
'nowrap' => 'true', 'nowrap' => 'true',
'selector' => '"textarea"', 'selector' => '"textarea:not(.mceNoEditor)"',
'relative_urls' => 'false', 'relative_urls' => 'false',
'document_base_url' => '"'.$this->getBaseDir().'"', 'document_base_url' => '"'.$this->getBaseDir().'"',
'menubar' => 'false', 'menubar' => 'false',
@ -240,4 +240,4 @@ copyLongDesc = function(sIdent)
if (method_exists( get_parent_class( __CLASS__ ), __FUNCTION__ )) $aConfig = array_merge( parent::_getTinyCustConfig(), $aConfig ); if (method_exists( get_parent_class( __CLASS__ ), __FUNCTION__ )) $aConfig = array_merge( parent::_getTinyCustConfig(), $aConfig );
return $aConfig; return $aConfig;
} }
} }