2 namespace TYPO3\CMS\Rtehtmlarea\Extension;
46 'image' =>
'InsertImage'
59 return parent::main($configuration)
61 $this->configuration[
'thisConfig'][
'proc.'][
'entryHTMLparser_db.'][
'tags.'][
'img.'][
'allowedAttribs'] ==
'0'
62 && $this->configuration[
'thisConfig'][
'proc.'][
'entryHTMLparser_db.'][
'tags.'][
'img.'][
'rmTagIfNoAttrib'] ==
'1'
64 && !$this->configuration[
'thisConfig'][
'buttons.'][
'image.'][
'TYPO3Browser.'][
'disabled'];
76 if (in_array($button, $this->toolbar)) {
77 if (!is_array($this->configuration[
'thisConfig'][
'buttons.']) || !is_array($this->configuration[
'thisConfig'][
'buttons.'][($button .
'.')])) {
78 $jsArray[] =
'RTEarea[editornumber]["buttons"]["' . $button .
'"] = new Object();';
80 $jsArray[] =
'RTEarea[editornumber].buttons.' . $button .
'.pathImageModule = ' .
GeneralUtility::quoteJSvalue(BackendUtility::getModuleUrl(
'rtehtmlarea_wizard_select_image')) .
';';
82 return implode(LF, $jsArray);