Adds minimal RTE preset

This commit is contained in:
Björn Fromme
2022-05-05 13:42:30 +02:00
parent 21e219ed1f
commit b8e1094741
3 changed files with 35 additions and 0 deletions
@@ -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