2 namespace TYPO3\CMS\Rtehtmlarea\Extension;
40 return parent::main($configuration)
41 && !($this->configuration[
'client'][
'browser'] ===
'opera' || $this->configuration[
'thisConfig'][
'contextMenu.'][
'disabled']);
52 if (is_array($this->configuration[
'thisConfig'][
'contextMenu.'])) {
53 $jsArray[] =
'RTEarea[editornumber].contextMenu = ' . $this->
buildNestedJSArray($this->configuration[
'thisConfig'][
'contextMenu.']) .
';';
54 if ($this->configuration[
'thisConfig'][
'contextMenu.'][
'showButtons']) {
57 if ($this->configuration[
'thisConfig'][
'contextMenu.'][
'hideButtons']) {
61 return implode(LF, $jsArray);
76 return str_replace(array(
':"0"',
':"\\/^(',
')$\\/i"',
':"\\/^(',
')$\\/"',
'[]'), array(
':false',
':/^(',
')$/i',
':/^(',
')$/',
'{}'), json_encode($convertedConf));