Skip to content

Instantly share code, notes, and snippets.

@wowaTYPO3
Created October 19, 2022 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wowaTYPO3/97c4d629666f23a10026fa92ebc08d6e to your computer and use it in GitHub Desktop.
Save wowaTYPO3/97c4d629666f23a10026fa92ebc08d6e to your computer and use it in GitHub Desktop.
# Load default processing options
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" }
# Add configuration for the editor
# For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
editor:
config:
contentsCss: 'EXT:vt11/Resources/Public/Css/rte.css'
format_tags: "p;h1;h2;h3;pre"
stylesSet:
- { name: 'Button Primary', element: 'a', attributes: { class: 'button primary'}}
- { name: 'Button Default', element: 'a', attributes: { class: 'button'}}
toolbarGroups:
- { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }
- { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }
- { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] }
- { name: 'forms', groups: [ 'forms' ] }
- { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }
- { name: 'styles', groups: [ 'styles' ] }
- { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] }
- { name: 'links', groups: [ 'links' ] }
- { name: 'insert', groups: [ 'insert' ] }
- { name: 'tools', groups: [ 'tools' ] }
- { name: 'colors', groups: [ 'colors' ] }
- { name: 'others', groups: [ 'others' ] }
- { name: 'about', groups: [ 'about' ] }
justifyClasses:
- text-left
- text-center
- text-right
- text-justify
extraPlugins:
- justify
- autolink
- editorplaceholder
- find
- wordcount
- codesnippet
codeSnippet_theme: 'obsidian'
codeSnippet_languages:
bash: 'Bash'
html: 'HTML'
javascript: 'JavaScript'
php: 'PHP'
css: 'CSS'
scss: 'Scss'
typoscript: 'TypoScript'
yaml: 'Yaml'
xml: 'XML'
removePlugins:
- image
removeButtons:
- Save
- NewPage
- ExportPdf
- Preview
- Print
- Templates
- Form
- Checkbox
- Radio
- TextField
- Textarea
- Select
- Button
- ImageButton
- HiddenField
- Underline
- CreateDiv
- JustifyBlock
- Image
- Flash
- Smiley
- PageBreak
- Iframe
- FontSize
- Font
- TextColor
- BGColor
- About
buttons:
link:
relAttribute:
enabled: true
properties:
class:
allowedClasses: 'button, button primary'
classes:
'button':
name: 'Button Default'
'button primary':
name: 'Button Primary'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment