50 'pastetoggle' =>
'PasteToggle',
51 'pastebehaviour' =>
'PasteBehaviour' 54 public function main($parentObject) {
56 return parent::main($parentObject) && $this->htmlAreaRTE->client[
'browser'] !=
'opera';
66 $registerRTEinJavascriptString =
'';
67 $button =
'pastebehaviour';
70 if (!is_array($this->thisConfig[
'buttons.']) || !is_array($this->thisConfig[
'buttons.'][($button .
'.')])) {
71 $registerRTEinJavascriptString .=
' 72 RTEarea[' . $RTEcounter .
'].buttons.' . $button .
' = new Object();';
74 $registerRTEinJavascriptString .=
' 75 RTEarea[' . $RTEcounter .
'].buttons.' . $button .
'.current = "' . (isset(
$GLOBALS[
'BE_USER']->uc[
'rteCleanPasteBehaviour']) ?
$GLOBALS[
'BE_USER']->uc[
'rteCleanPasteBehaviour'] :
'plainText') .
'";';
77 return $registerRTEinJavascriptString;
87 $removeButtons = array();
89 if (!in_array(
'pastetoggle', $show)) {
90 $removeButtons[] =
'pastebehaviour';
94 $removeButtons[] =
'pastebehaviour';
96 return array_diff($show, $removeButtons);
$convertToolbarForHtmlAreaArray
$relativePathToLocallangFile
buildJavascriptConfiguration($RTEcounter)
static isLoaded($key, $exitOnError=FALSE)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
applyToolbarConstraints($show)