Bug #85182 » patch.diff
typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php | ||
---|---|---|
177 | 177 |
$this->currentLinkParts['params'] = '&' . $this->currentLinkParts['url']['parameters']; |
178 | 178 |
} |
179 | 179 |
} |
180 | ||
181 |
if (!empty($this->currentLinkParts['class'])) { |
|
182 |
// Only keep last class value (others are automatically added again by required option) |
|
183 |
// https://review.typo3.org/#/c/29643 |
|
184 |
$currentClasses = GeneralUtility::trimExplode(' ', $this->currentLinkParts['class'], true); |
|
185 |
if (count($currentClasses) > 1) { |
|
186 |
$this->currentLinkParts['class'] = end($currentClasses); |
|
187 |
} |
|
188 |
} |
|
189 | 180 |
parent::initCurrentUrl(); |
190 | 181 |
} |
191 | 182 |