Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Configuration/PageTS/tsconfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:subtheme_t3kit_template/Configuration/ContentElements" extensions="pagets">
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:subtheme_t3kit_template/Configuration/GridElements/PageTS" extensions="pagets">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:subtheme_t3kit_template/Configuration/PageTS/iconFonts.pagets">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:subtheme_t3kit_template/Resources/Private/Extensions/RTE/PageTS/tsconfig.txt">
59 changes: 59 additions & 0 deletions Resources/Private/Extensions/RTE/Default.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
####
# Example of what CKEditor can all bring
###

# 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" }

# Add configuration for the editor
# For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
editor:
config:
# can be "default", but a custom stylesSet can be defined here, which fits TYPO3 best
stylesSet:
# block level styles
- { name: "White title H2 with orange background", element: "h2", styles: { color: "#fff", background: "#f86230" } }
- { name: "White title H3 with orange background", element: "h3", styles: { color: "#fff", background: "#f86230" } }
- { name: "Lead", element: "p", attributes: { 'class': 'lead' }, styles: { font-size: "16px" } }
# Inline styles
- { name: "White text color", element: "span", styles: { color: "#fff" } }
- { name: "Yellow marker", element: "span", styles: { background-color: "yellow" } }

format_tags: "p;h1;h2;h3;h4;h5;h6;pre"

toolbarGroups:
- { name: styles, groups: [ styles ] }
- { name: forms, groups: [ forms ] }
- { name: paragraph, groups: [ align, list, indent, blocks, bidi, paragraph ] }
- "/"
- { name: basicstyles, groups: [ basicstyles, cleanup ] }
- { name: editing, groups: [ find, selection, spellchecker, editing ] }
- { name: links, groups: [ links ] }
- { name: insert, groups: [ insert ] }
- "/"
- { name: clipboard, groups: [ clipboard, undo ] }
- { name: document, groups: [ mode, document, doctools ] }
- { name: colors, groups: [ colors ] }
- { name: tools, groups: [ tools ] }
- { name: others, groups: [ others ] }
- { name: about, groups: [ about ] }


justifyClasses:
- text-left
- text-center
- text-right
- text-justify

extraPlugins:
- justify

removePlugins:
- quicktable

removeButtons:
- Image
- Table
1 change: 1 addition & 0 deletions Resources/Private/Extensions/RTE/PageTS/tsconfig.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RTE.default.preset = subtheme_t3kit_template_default
7 changes: 7 additions & 0 deletions ext_localconf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}

$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['subtheme_t3kit_template_default']
= 'EXT:subtheme_t3kit_template/Resources/Private/Extensions/RTE/Default.yaml';