diff --git a/public/typo3conf/ext/ep_theme/Configuration/RTE/Minimal.yaml b/public/typo3conf/ext/ep_theme/Configuration/RTE/Minimal.yaml new file mode 100644 index 00000000..9a8eee38 --- /dev/null +++ b/public/typo3conf/ext/ep_theme/Configuration/RTE/Minimal.yaml @@ -0,0 +1,31 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + +editor: + config: + height: 100 + disableNativeSpellChecker: false + contentsCss: + - "EXT:ep_theme/Resources/Public/css/rte.css?v=2020.02-01" + + stylesSet: + - { name: "Button", element: "a", attributes: { 'class': 'button' } } + + toolbarGroups: + - { name: paragraph, groups: [ list] } + - "/" + - { name: links, groups: [ links ] } + - { name: tools, groups: [ specialchar ] } + - { name: document, groups: [ mode ] } + + format_tags: "p;h1;h2;h3;h4" + + removePlugins: + - image + + removeButtons: + - Anchor + - Underline + - Strike diff --git a/public/typo3conf/ext/ep_theme/Configuration/TSconfig/Page/RTE.tsconfig b/public/typo3conf/ext/ep_theme/Configuration/TSconfig/Page/RTE.tsconfig index 61737b9f..13bec134 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TSconfig/Page/RTE.tsconfig +++ b/public/typo3conf/ext/ep_theme/Configuration/TSconfig/Page/RTE.tsconfig @@ -12,5 +12,8 @@ RTE { } } } + tx_epproducts_domain_model_product { + included_services.preset = ep-minimal + } } } diff --git a/public/typo3conf/ext/ep_theme/ext_localconf.php b/public/typo3conf/ext/ep_theme/ext_localconf.php index 5dd56595..453750a6 100644 --- a/public/typo3conf/ext/ep_theme/ext_localconf.php +++ b/public/typo3conf/ext/ep_theme/ext_localconf.php @@ -44,6 +44,7 @@ $boot = function () { $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml'; $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['ep-reisen'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml'; + $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['ep-minimal'] = 'EXT:ep_theme/Configuration/RTE/Minimal.yaml'; $GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['ep'] = ['EP\\EpTheme\\ViewHelpers']; $GLOBALS['TYPO3_CONF_VARS']['MAIL']['layoutRootPaths'][700] = 'EXT:ep_theme/Resources/Private/Layouts/Email/';