78 lines
2.5 KiB
YAML
78 lines
2.5 KiB
YAML
# 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' }
|
|
#- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/LinkBrowser.yaml' }
|
|
# Additional optional TYPO3 specific configuration is available via ./Editor/LinkBrowser.yaml
|
|
# See https://docs.typo3.org/c/typo3/cms-rte-ckeditor/main/en-us/Configuration/Reference.html
|
|
#
|
|
# The keys typing.transformations.extra.from and htmlSupport.allow.name allow
|
|
# to have a special array with a key `pattern` that allows to specify Regular Expressions:
|
|
# - { from: { pattern: '(typoscript|TYPOScript|typo3script)$' }, to: 'TypoScript' }
|
|
# see https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.4.x/Important-104827-AllowToUseRegularExpressionsInCKEditorYAML.html
|
|
#
|
|
# Add configuration for the editor
|
|
# For complete documentation see https://ckeditor.com/docs/ckeditor5/latest/features/index.html
|
|
editor:
|
|
config:
|
|
toolbar:
|
|
items:
|
|
- style
|
|
- heading
|
|
# grouping separator
|
|
- '|'
|
|
- bold
|
|
- italic
|
|
- subscript
|
|
- superscript
|
|
- softhyphen
|
|
- '|'
|
|
- bulletedList
|
|
- numberedList
|
|
- blockQuote
|
|
- alignment
|
|
- '|'
|
|
- findAndReplace
|
|
- link
|
|
- '|'
|
|
- removeFormat
|
|
- undo
|
|
- redo
|
|
- '|'
|
|
- insertTable
|
|
- '|'
|
|
- specialCharacters
|
|
- horizontalLine
|
|
- sourceEditing
|
|
|
|
heading:
|
|
options:
|
|
- { model: 'paragraph', title: 'Paragraph' }
|
|
- { model: 'heading2', view: 'h2', title: 'Heading 2' }
|
|
- { model: 'heading3', view: 'h3', title: 'Heading 3' }
|
|
- { model: 'formatted', view: 'pre', title: 'Pre-Formatted Text' }
|
|
|
|
style:
|
|
definitions:
|
|
- { name: "Lead", element: "p", classes: ['lead'] }
|
|
- { name: "Small", element: "small" }
|
|
- { name: "Muted", element: "span", classes: ['text-muted'] }
|
|
|
|
alignment:
|
|
options:
|
|
- { name: 'left', className: 'text-start' }
|
|
- { name: 'center', className: 'text-center' }
|
|
- { name: 'right', className: 'text-end' }
|
|
- { name: 'justify', className: 'text-justify' }
|
|
|
|
table:
|
|
defaultHeadings: { rows: 1 }
|
|
contentToolbar:
|
|
- tableColumn
|
|
- tableRow
|
|
- mergeTableCells
|
|
- tableProperties
|
|
- tableCellProperties
|
|
- toggleTableCaption
|