Ich habe eine TYPO3 8.7.7 Installation und verwende rte_ckeditor. Ich versuche den Editor zu konfigurieren - aber es scheint nicht zu funktionieren. Wenn ich RTE.default.preset = full
oder irgendetwas anderes setze, ändert sich nichts in meinem Backendformular.TYPO3 CKEditor - Konfiguration funktioniert nicht
Aber ich muss einige individuelle Optionen konfigurieren. So stelle ich die Standardvoreinstellung auf meine eigene YAML-Datei (RTE.default.preset = mytemplate
), die auch in meiner Erweiterung ext_localconf.php registriert ist mit
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['mytemplate'] = 'EXT:mytemplate/Configuration/RTE/rte.yaml';
I typo3temp Ordner, System-Caches über das Backend gelöscht haben, alle Caches via Tool installieren, deaktiviert und reaktivierte meine Vorlagenerweiterung.
Ich ändere auch nichts in meinem Backend-Formular an der RTE.
Das einzige, was es manchmal tat, wenn ich den System-Cache im Backend lösche und das Backend-Formular TYPO3 speichere zeigt mir Syntaxfehler in meiner YAML-Datei - die jetzt alle gelöst sind, aber auch nichts mehr anzeigen. RTE nur der Standard ...
Meine YAML-Datei hat nichts besondere ... nur kommen Klassen und die Format-Tags "pre" relaced mit "h6"
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:
contentsCss: ["EXT:mytemplate/Resources/Public/css/rte/rte.css"]
format_tags: "p;h1;h2;h3;h4;h5;h6"
stylesSet:
- { name: "align-left", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6', 'p', 'td', 'th'], attributes: { 'class': 'align-left' }}
- { name: "align-center", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6', 'p', 'td', 'th'], attributes: { 'class': 'align-center' }}
- { name: "align-right", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6', 'p', 'td', 'th'], attributes: { 'class': 'align-right' }}
- { name: "align-justify", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6', 'p', 'td', 'th'], attributes: { 'class': 'align-justify' }}
- { name: "Headline Stil 1", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6'], attributes: { 'class': 'headline-style-1' }}
- { name: "Headline Stil 2", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6'], attributes: { 'class': 'headline-style-2' }}
- { name: "Headline Stil 3", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6'], attributes: { 'class': 'headline-style-3' }}
- { name: "Headline Stil 4", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6'], attributes: { 'class': 'headline-style-4' }}
- { name: "Button-Link Primär", element: ['a'], attributes: { 'class': 'rte-btn-primary' }}
- { name: "Button-Link Sekundär", element: ['a'], attributes: { 'class': 'rte-btn-secondary' }}
- { name: "Button-Link Tertiär", element: ['a'], attributes: { 'class': 'rte-btn-tertiary' }}
toolbarGroups:
- { name: styles, groups: [ styles, format ] }
- { name: basicstyles, groups: [ basicstyles ] }
- { name: paragraph, groups: [ list, indent, blocks, align ] }
- { name: links, groups: [ links ] }
- { name: clipboard, groups: [ clipboard, cleanup, undo ] }
- { name: editing, groups: [ spellchecker ] }
- { name: insert, groups: [ insert ] }
- { name: tools, groups: [ table, specialchar ] }
- { name: document, groups: [ mode ] }
justifyClasses:
- align-left
- align-center
- align-right
- align-justify
extraPlugins:
- justify
removePlugins:
- image
removeButtons:
- Anchor
- Underline
- Strike
- Styles
Was der Trick meine Config zu erhalten ist, Arbeiten?!
Ich kämpfe mit dem gleichen Problem ... Haben Sie jemals eine Lösung dafür gefunden? – Swissdude
Verwenden Sie das RTE-Feld in der DCE-Erweiterung? –
Ich verwende fluid_content, fluidpages und flux – Swissdude