99 lines
3.5 KiB
YAML
99 lines
3.5 KiB
YAML
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:
|
|
externalPlugins:
|
|
bootstrappackage_address:
|
|
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Address/plugin.min.js"
|
|
bootstrappackage_box:
|
|
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Box/plugin.min.js"
|
|
bootstrappackage_columns:
|
|
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Columns/plugin.min.js"
|
|
bootstrappackage_indent:
|
|
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Indent/plugin.min.js"
|
|
bootstrappackage_table:
|
|
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Table/plugin.min.js"
|
|
|
|
config:
|
|
contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap5-rte.min.css"
|
|
|
|
stylesSet:
|
|
- { name: "Small", element: "small" }
|
|
|
|
- { name: "Table", element: "table", attributes: { 'class': 'table' } }
|
|
|
|
- { name: "Button Default", element: "a", attributes: { 'class': 'btn btn-default' } }
|
|
|
|
- { name: "Button Outline Default", element: "a", attributes: { 'class': 'btn btn-outline-default' } }
|
|
|
|
- { name: "Link Address", element: "a", attributes: { 'class': 'link-address' } }
|
|
|
|
- { name: "List Unstyled", element: "ul", attributes: { 'class': 'list-unstyled' } }
|
|
|
|
- { name: "Lowercased text", element: "span", attributes: { 'class': 'text-lowercase' } }
|
|
- { name: "Uppercased text", element: "span", attributes: { 'class': 'text-uppercase' } }
|
|
- { name: "Capitalized text", element: "span", attributes: { 'class': 'text-capitalize' } }
|
|
- { name: "H1", element: "span", attributes: { 'class': 'h1' } }
|
|
|
|
toolbarGroups:
|
|
- { name: styles, groups: [ format, styles ] }
|
|
- { name: basicstyles, groups: [ basicstyles ] }
|
|
- { name: paragraph, groups: [ list, indent, blocks, align ] }
|
|
- "/"
|
|
- { name: links, groups: [ links ] }
|
|
- { name: clipboard, groups: [ clipboard, cleanup, undo ] }
|
|
- { name: editing, groups: [ spellchecker ] }
|
|
- { name: insert, groups: [ insert ] }
|
|
- { name: tools, groups: [ table, specialchar ] }
|
|
- { name: document, groups: [ mode ] }
|
|
|
|
format_tags: "p;h1;h2;h3;h4;h5;pre"
|
|
|
|
justifyClasses:
|
|
- text-left
|
|
- text-center
|
|
- text-right
|
|
- text-justify
|
|
|
|
extraPlugins:
|
|
- justify
|
|
- autolink
|
|
- bootstrappackage_address
|
|
- bootstrappackage_box
|
|
- bootstrappackage_columns
|
|
- bootstrappackage_indent
|
|
- bootstrappackage_table
|
|
|
|
removePlugins:
|
|
- image
|
|
|
|
removeButtons:
|
|
- Anchor
|
|
- Underline
|
|
- Strike
|
|
|
|
classesAnchor:
|
|
page:
|
|
class: 'link-page'
|
|
type: 'page'
|
|
folder:
|
|
class: 'link-folder'
|
|
type: 'folder'
|
|
file:
|
|
class: 'link-file'
|
|
type: 'file'
|
|
external:
|
|
class: 'link-external'
|
|
type: 'url'
|
|
mail:
|
|
class: 'link-mail'
|
|
type: 'mail'
|
|
|
|
buttons:
|
|
link:
|
|
properties:
|
|
class:
|
|
allowedClasses: 'link-address, link-arrow, link-page, link-folder, link-file, link-external, link-mail'
|