public function main($parentObject) { parent::main($parentObject); // Do not disable this plugin even if the chMode button is disabled $this->pluginAddsButtons = false; return true; }
public function main($parentObject) { $enabled = parent::main($parentObject) && $this->htmlAreaRTE->isPluginEnabled('BlockElements'); if ($enabled && is_object($this->htmlAreaRTE->registeredPlugins['BlockElements'])) { $this->htmlAreaRTE->registeredPlugins['BlockElements']->setSynchronousLoad(); } return $enabled; }
public function main($parentObject) { $available = parent::main($parentObject); if ($this->thisConfig['disableSelectColor'] && $this->htmlAreaRTE->client['browser'] != 'gecko') { $this->requiredPlugins = 'DefaultColor'; } return $available; }
public function main($parentObject) { $available = parent::main($parentObject); if ($this->htmlAreaRTE->client['browser'] == 'opera') { $this->thisConfig['hideTableOperationsInToolbar'] = 0; } return $available; }
public function main($parentObject) { if (!t3lib_extMgm::isLoaded('static_info_tables')) { $this->pluginButtons = t3lib_div::rmFromList('language', $this->pluginButtons); } else { require_once t3lib_extMgm::extPath('static_info_tables') . 'class.tx_staticinfotables_div.php'; } return parent::main($parentObject); }
public function main($parentObject) { $enabled = parent::main($parentObject) && $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['allowStyleAttribute']; if ($this->htmlAreaRTE->is_FE()) { $this->RTEProperties = $this->htmlAreaRTE->RTEsetup; } else { $this->RTEProperties = $this->htmlAreaRTE->RTEsetup['properties']; } return $enabled; }
public function main($parentObject) { $enabled = parent::main($parentObject); // Hiding some buttons if ($enabled && is_array($this->hideButtonsFromClient[$this->htmlAreaRTE->client['browser']])) { $this->pluginButtons = implode(',', array_diff(t3lib_div::trimExplode(',', $this->pluginButtons, 1), $this->hideButtonsFromClient[$this->htmlAreaRTE->client['browser']])); } // Force enabling the plugin even if no button remains in the tool bar, so that hot keys still are enabled $this->pluginAddsButtons = false; return $enabled; }
public function main($parentObject) { // Opera has no onPaste event to handle return parent::main($parentObject) && $this->htmlAreaRTE->client['browser'] != 'opera'; }
public function main($parentObject) { return parent::main($parentObject) && t3lib_extMgm::isLoaded('static_info_tables'); }
public function main($parentObject) { return parent::main($parentObject) && t3lib_extMgm::isLoaded('static_info_tables') && !in_array($this->htmlAreaRTE->language, t3lib_div::trimExplode(',', $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$this->htmlAreaRTE->ID]['plugins'][$pluginName]['noSpellCheckLanguages'])) && ($this->htmlAreaRTE->contentCharset == 'iso-8859-1' || $this->htmlAreaRTE->contentCharset == 'utf-8'); }
public function main($parentObject) { // Check if this should be enabled based on Page TSConfig return parent::main($parentObject) && !$this->thisConfig['disableTYPO3Browsers'] && !(is_array($this->thisConfig['buttons.']) && is_array($this->thisConfig['buttons.']['link.']) && is_array($this->thisConfig['buttons.']['link.']['TYPO3Browser.']) && $this->thisConfig['buttons.']['link.']['TYPO3Browser.']['disabled']); }
public function main($parentObject) { // Check if this should be enabled based on extension configuration and Page TSConfig // The 'Minimal' and 'Typical' default configurations include Page TSConfig that removes images on the way to the database return parent::main($parentObject) && !($this->thisConfig['proc.']['entryHTMLparser_db.']['tags.']['img.']['allowedAttribs'] == '0' && $this->thisConfig['proc.']['entryHTMLparser_db.']['tags.']['img.']['rmTagIfNoAttrib'] == '1'); }
public function main($parentObject) { return parent::main($parentObject) && !($this->htmlAreaRTE->client['browser'] == 'opera' || $this->thisConfig['disableContextMenu'] || $this->thisConfig['disableRightClick']); }
public function main($parentObject) { return parent::main($parentObject) && $this->thisConfig['enableWordClean'] && is_array($this->thisConfig['enableWordClean.']['HTMLparser.']); }
public function main($parentObject) { return parent::main($parentObject) && $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['allowStyleAttribute']; }