Bug #88302 » typo3_ckeditor_plugin_config.patch
typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php 2019-05-15 08:31:12.299608482 +0200 → typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php 2019-05-14 18:42:00.000000000 +0200 | ||
---|---|---|
if (!empty($config['config']) && !empty($configuration[$pluginName])) {
|
||
$config['config'] = array_replace_recursive($config['config'], $configuration[$pluginName]);
|
||
}
|
||
$configuration[$pluginName] = $config['config'];
|
||
$configuration['_' . $pluginName] = $config['config'];
|
||
$configuration['extraPlugins'] .= ',' . $pluginName;
|
||
$externalPlugins .= 'CKEDITOR.plugins.addExternal(';
|
||
-- a/typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/plugin.js 2019-05-15 08:31:11.999610024 +0200
|
||
-- b/typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/plugin.js 2019-05-14 18:39:20.000000000 +0200
|
||
... | ... | |
var defaultConfig = {
|
||
enableShortcut: true
|
||
};
|
||
var config = CKEDITOR.tools.extend(defaultConfig, editor.config.softhyphen || {}, true);
|
||
var config = CKEDITOR.tools.extend(defaultConfig, editor.config._softhyphen || {}, true);
|
||
// create command "insertSoftHyphen" which inserts the invisible html tag `­`
|
||
editor.addCommand('insertSoftHyphen', {
|
||
-- a/typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/typo3link.js 2019-05-15 08:31:11.999610024 +0200
|
||
-- b/typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/typo3link.js 2019-05-14 18:39:20.000000000 +0200
|
||
... | ... | |
TYPO3.settings.Textarea.RTEPopupWindow.height,
|
||
makeUrlFromModulePath(
|
||
editor,
|
||
editor.config.typo3link.routeUrl,
|
||
editor.config._typo3link.routeUrl,
|
||
additionalParameters
|
||
));
|
||
}
|
||
... | ... | |
* @return {Array} registered attributes available for the link
|
||
*/
|
||
function getAdditionalAttributes(editor) {
|
||
if (editor.config.typo3link.additionalAttributes && editor.config.typo3link.additionalAttributes.length) {
|
||
return editor.config.typo3link.additionalAttributes;
|
||
if (editor.config._typo3link.additionalAttributes && editor.config._typo3link.additionalAttributes.length) {
|
||
return editor.config._typo3link.additionalAttributes;
|
||
} else {
|
||
return [];
|
||
}
|