ds-site/Configuration/RTE/Default.yaml

70 lines
1.4 KiB
YAML
Raw Normal View History

2019-11-15 00:27:23 +01:00
# Load default processing options
imports:
2022-12-06 08:18:42 +01:00
- {resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml"}
- {resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml"}
2019-11-15 00:27:23 +01:00
editor:
2022-12-06 08:18:42 +01:00
config:
2019-11-15 00:27:23 +01:00
2022-12-06 08:18:42 +01:00
# Ensure that special characters are not converted to HTML entities
style:
definitions:
- {name: "Inline Code", element: "code", classes: ['']}
2019-11-15 00:27:23 +01:00
2022-12-06 08:18:42 +01:00
heading:
options:
- {model: 'paragraph', title: 'Paragraph'}
- {model: 'formatted', view: 'pre', title: 'Code Block'}
2019-11-15 00:27:23 +01:00
2022-12-06 08:18:42 +01:00
toolbar:
items:
- bold
- italic
- underline
- strikethrough
- subscript
- superscript
- '|'
- removeFormat
- '|'
- bulletedList
- numberedList
- '|'
- indent
- outdent
- '|'
- blockQuote
- '|'
- link
- '-'
- style
- heading
- '-'
- sourceEditing
2019-11-15 00:27:23 +01:00
2022-12-06 08:18:42 +01:00
importModules:
- '@typo3/rte-ckeditor/plugin/typo3-link.js'
externalPlugins:
typo3link: {route: "rteckeditor_wizard_browse_links"}
2019-11-15 00:27:23 +01:00
processing:
2022-12-06 08:18:42 +01:00
allowAttributes: []
HTMLparser_db:
tags:
ol:
allowedAttribs: []
ul:
allowedAttribs: []
code:
allowedAttribs: []
pre:
allowedAttribs: []
allowTagsOutside:
- pre
- blockquote
- ul
- ol
- li
- br