TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Load processing options
|
||||
imports:
|
||||
- { resource: 'EXT:form/Configuration/RTE/ProcessingContent.yaml' }
|
||||
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml' }
|
||||
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml' }
|
||||
|
||||
# RTE configuration for form content fields (e.g., StaticText)
|
||||
# Contains extended formatting options including lists
|
||||
editor:
|
||||
config:
|
||||
toolbar:
|
||||
items:
|
||||
- bold
|
||||
- italic
|
||||
- '|'
|
||||
- link
|
||||
- '|'
|
||||
- bulletedList
|
||||
- numberedList
|
||||
- '|'
|
||||
- clipboard
|
||||
- undo
|
||||
- redo
|
||||
@@ -0,0 +1,20 @@
|
||||
# Load processing options
|
||||
imports:
|
||||
- { resource: 'EXT:form/Configuration/RTE/ProcessingLabel.yaml' }
|
||||
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml' }
|
||||
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml' }
|
||||
|
||||
# RTE configuration for form labels and short text fields
|
||||
# Contains only essential formatting options: bold, italic, link
|
||||
editor:
|
||||
config:
|
||||
toolbar:
|
||||
items:
|
||||
- bold
|
||||
- italic
|
||||
- '|'
|
||||
- link
|
||||
- '|'
|
||||
- clipboard
|
||||
- undo
|
||||
- redo
|
||||
@@ -0,0 +1,40 @@
|
||||
# ********************************************************
|
||||
# Processing configuration for form content fields
|
||||
# Extended version that allows lists
|
||||
# https://docs.typo3.org/permalink/t3tsref:rte-config-proc
|
||||
# ********************************************************
|
||||
|
||||
processing:
|
||||
mode: default
|
||||
# Tags that are allowed in the content
|
||||
# Includes list elements for extended formatting
|
||||
allowTags:
|
||||
- a
|
||||
- br
|
||||
- i
|
||||
- strong
|
||||
- ul
|
||||
- ol
|
||||
- li
|
||||
- p
|
||||
|
||||
denyTags: b,u,img,div,center,pre,figure,figcaption,font,hr,sub,sup,em,blockquote,strike,span,abbr,acronym,dfn
|
||||
|
||||
## Tags that are allowed outside of paragraphs
|
||||
allowTagsOutside:
|
||||
- ul
|
||||
- ol
|
||||
|
||||
## CONTENT TO PERSISTENCE
|
||||
HTMLparser_db:
|
||||
|
||||
## REMOVE OPEN OFFICE META DATA TAGS, WORD 2003 TAGS, LINK, META, STYLE AND TITLE TAGS, AND DEPRECATED HTML TAGS
|
||||
removeTags: [link, meta, o:p, sdfield, style, title, font, center]
|
||||
|
||||
## PROTECT CUSTOM TAGS
|
||||
keepNonMatchedTags: protect
|
||||
|
||||
# HTML Sanitizer
|
||||
htmlSanitize:
|
||||
build: default
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
# ********************************************************
|
||||
# Sets the proc options for all default configurations
|
||||
# https://docs.typo3.org/permalink/t3tsref:rte-config-proc
|
||||
# ********************************************************
|
||||
|
||||
processing:
|
||||
mode: default
|
||||
# Tags that are allowed in the content in general
|
||||
# If you adapt this preset, you need to ship your own Checkbox.fluid.html template alongside it
|
||||
# and adapt the `stripTags` call
|
||||
allowTags:
|
||||
- a
|
||||
- br
|
||||
- i
|
||||
- strong
|
||||
|
||||
denyTags: b,u,img,div,center,pre,figure,figcaption,font,hr,sub,sup,em,li,ul,ol,blockquote,strike,span,abbr,acronym,dfn
|
||||
|
||||
## Tags that are allowed outside of paragraphs
|
||||
allowTagsOutside: []
|
||||
|
||||
## CONTENT TO PERSISTENCE
|
||||
HTMLparser_db:
|
||||
|
||||
## REMOVE OPEN OFFICE META DATA TAGS, WORD 2003 TAGS, LINK, META, STYLE AND TITLE TAGS, AND DEPRECATED HTML TAGS
|
||||
## We use this rule instead of the denyTags rule so that we can protect custom tags without protecting these unwanted tags.
|
||||
removeTags: [link, meta, o:p, sdfield, style, title, font, center]
|
||||
|
||||
## PROTECT CUSTOM TAGS
|
||||
keepNonMatchedTags: protect
|
||||
|
||||
# HTML Sanitizer
|
||||
# `htmlSanitize = false | null` to disable individually
|
||||
htmlSanitize:
|
||||
# either preset name as declared in `$GLOBALS['TYPO3_CONF_VARS']['SYS']['htmlSanitizer']`
|
||||
# or class-name implementing interface `\TYPO3\HtmlSanitizer\Builder\BuilderInterface`
|
||||
build: default
|
||||
Reference in New Issue
Block a user