-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18850b6
commit fc1fa01
Showing
4 changed files
with
130 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# 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" } | ||
|
||
# Custom configuration for rte | ||
editor: | ||
config: | ||
allowedContent: true | ||
|
||
stylesSet: | ||
- name: "Primary Button" | ||
element: "a" | ||
attributes: | ||
class: "btn btn-primary" | ||
- name: "Secondary Button" | ||
element: "a" | ||
attributes: | ||
class: "btn btn-secondary" | ||
- name: "Light Button" | ||
element: "a" | ||
attributes: | ||
class: "btn btn-light" | ||
- name: "Black Button" | ||
element: "a" | ||
attributes: | ||
class: "btn btn-black" | ||
- name: "White Button" | ||
element: "a" | ||
attributes: | ||
class: "btn btn-white" | ||
- name: "Link" | ||
element: "a" | ||
attributes: | ||
class: "link" | ||
|
||
format_tags: "p;h1;h2;h3;h4;h5;h6" | ||
|
||
toolbar: | ||
items: | ||
- style | ||
- heading | ||
- '|' | ||
- bold | ||
- italic | ||
- underline | ||
- strikethrough | ||
- subscript | ||
- superscript | ||
- '|' | ||
- bulletedList | ||
- numberedList | ||
- blockQuote | ||
- '|' | ||
- alignment | ||
- '|' | ||
- link | ||
- '|' | ||
- sourceEditing | ||
- horizontalLine | ||
|
||
justifyClasses: | ||
- text-start | ||
- text-center | ||
- text-end | ||
|
||
extraPlugins: | ||
- justify | ||
- find | ||
- bidi | ||
- templates | ||
- wordcount | ||
- textColor | ||
|
||
removeButtons: | ||
# - Anchor | ||
- Underline | ||
- Strike | ||
- Table # Remove table button so that the template must be used | ||
- Image | ||
- Templates | ||
# - Styles | ||
- JustifyBlock | ||
templates: "default" | ||
|
||
templates_replaceContent: false | ||
|
||
processing: | ||
allowTags: | ||
- div | ||
- a | ||
- small |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters