[TASK] Organize TSconfig structure 73/43373/4
authorBenjamin Mack <benni@typo3.org>
Wed, 16 Sep 2015 10:07:17 +0000 (12:07 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 16 Sep 2015 13:32:41 +0000 (15:32 +0200)
EXT:backend ships a proper ordered TSconfig for the wizards now
which is places inside EXT:backend/Configuration/PageTSconfig/.

This ensures proper order of new content element wizard elements
when having CSS Styled Content not installed.

All other occurences of the folder structure have been adapted as well.

Resolves: #69872
Releases: master
Change-Id: I871da6ad4dd40d216e46cb2bd6afc6ff3d15538b
Reviewed-on: http://review.typo3.org/43373
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
31 files changed:
typo3/sysext/backend/Configuration/PageTSconfig/NewContentElementWizard.ts [new file with mode: 0644]
typo3/sysext/backend/ext_localconf.php
typo3/sysext/css_styled_content/Configuration/PageTS/modWizards.ts [deleted file]
typo3/sysext/css_styled_content/Configuration/PageTSconfig/NewContentElementWizard.ts [new file with mode: 0644]
typo3/sysext/css_styled_content/ext_localconf.php
typo3/sysext/form/Classes/Utility/FormUtility.php
typo3/sysext/form/Configuration/PageTS/modWizards.ts [deleted file]
typo3/sysext/form/Configuration/PageTSconfig/modWizards.ts [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTS/AccessibilityIcons/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Advanced/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Demo/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Extensions/InlineElements/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Image/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Proc/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Style/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Typical/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/AccessibilityIcons/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Advanced/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Demo/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Extensions/InlineElements/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Image/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Proc/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Style/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Typical/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/UserTS/Advanced/userTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/UserTS/Demo/userTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/UserTS/Typical/userTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Advanced/userTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Demo/userTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Typical/userTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/ext_localconf.php

diff --git a/typo3/sysext/backend/Configuration/PageTSconfig/NewContentElementWizard.ts b/typo3/sysext/backend/Configuration/PageTSconfig/NewContentElementWizard.ts
new file mode 100644 (file)
index 0000000..aa28cc3
--- /dev/null
@@ -0,0 +1,17 @@
+# dummy placeholders for item groups
+mod.wizards.newContentElement.wizardItems {
+               common.header = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common
+               special.header = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special
+               forms.header = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:forms
+               plugins.header = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:plugins
+               plugins.elements {
+                       general {
+                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/user_defined.gif
+                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:plugins_general_title
+                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:plugins_general_description
+                               tt_content_defValues.CType = list
+                       }
+               }
+               plugins.show = *
+       }
+}
\ No newline at end of file
index 9695704..c9aaac9 100644 (file)
@@ -32,3 +32,6 @@ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php'
 
 // Register search key shortcuts
 $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['page'] = 'pages';
+
+// Include base setup for new content element wizard
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:backend/Configuration/PageTSconfig/NewContentElementWizard.ts">');
\ No newline at end of file
diff --git a/typo3/sysext/css_styled_content/Configuration/PageTS/modWizards.ts b/typo3/sysext/css_styled_content/Configuration/PageTS/modWizards.ts
deleted file mode 100644 (file)
index 895a409..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-mod.wizards.newContentElement {
-       wizardItems {
-               common.header = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common
-               common.elements {
-                       header {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/regular_header.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_headerOnly_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_headerOnly_description
-                               tt_content_defValues {
-                                       CType = header
-                               }
-                       }
-
-                       text {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/regular_text.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_regularText_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_regularText_description
-                               tt_content_defValues {
-                                       CType = text
-                               }
-                       }
-
-                       textpic {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/text_image_right.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_textImage_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_textImage_description
-                               tt_content_defValues {
-                                       CType = textpic
-                                       imageorient = 17
-                               }
-                       }
-
-                       image {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/images_only.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_imagesOnly_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_imagesOnly_description
-                               tt_content_defValues {
-                                       CType = image
-                               }
-                       }
-
-                       bullets {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/bullet_list.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_bulletList_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_bulletList_description
-                               tt_content_defValues {
-                                       CType = bullets
-                               }
-                       }
-
-                       table {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/table.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_table_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_table_description
-                               tt_content_defValues {
-                                       CType = table
-                               }
-                       }
-               }
-
-               common.show = header,text,textpic,image,bullets,table
-
-               special.header = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special
-               special.elements {
-                       uploads {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/filelinks.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_filelinks_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_filelinks_description
-                               tt_content_defValues {
-                                       CType = uploads
-                               }
-                       }
-
-                       menu {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/sitemap2.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_menus_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_menus_description
-                               tt_content_defValues {
-                                       CType = menu
-                                       menu_type = 0
-                               }
-                       }
-
-                       html {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/html.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_plainHTML_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_plainHTML_description
-                               tt_content_defValues {
-                                       CType = html
-                               }
-                       }
-
-                       div {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/div.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_divider_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_divider_description
-                               tt_content_defValues {
-                                       CType = div
-                               }
-                       }
-
-                       shortcut {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/shortcut.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_shortcut_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_shortcut_description
-                               tt_content_defValues {
-                                       CType = shortcut
-                               }
-                       }
-               }
-
-               special.show = uploads,menu,html,div,shortcut
-
-               # dummy placeholder for forms group
-               forms.header = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:forms
-
-               plugins.header = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:plugins
-               plugins.elements {
-                       general {
-                               icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/user_defined.gif
-                               title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:plugins_general_title
-                               description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:plugins_general_description
-                               tt_content_defValues.CType = list
-                       }
-               }
-
-               plugins.show = *
-       }
-}
\ No newline at end of file
diff --git a/typo3/sysext/css_styled_content/Configuration/PageTSconfig/NewContentElementWizard.ts b/typo3/sysext/css_styled_content/Configuration/PageTSconfig/NewContentElementWizard.ts
new file mode 100644 (file)
index 0000000..a6f0504
--- /dev/null
@@ -0,0 +1,110 @@
+mod.wizards.newContentElement.wizardItems {
+       common.elements {
+               header {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/regular_header.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_headerOnly_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_headerOnly_description
+                       tt_content_defValues {
+                               CType = header
+                       }
+               }
+
+               text {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/regular_text.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_regularText_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_regularText_description
+                       tt_content_defValues {
+                               CType = text
+                       }
+               }
+
+               textpic {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/text_image_right.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_textImage_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_textImage_description
+                       tt_content_defValues {
+                               CType = textpic
+                               imageorient = 17
+                       }
+               }
+
+               image {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/images_only.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_imagesOnly_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_imagesOnly_description
+                       tt_content_defValues {
+                               CType = image
+                       }
+               }
+
+               bullets {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/bullet_list.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_bulletList_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_bulletList_description
+                       tt_content_defValues {
+                               CType = bullets
+                       }
+               }
+
+               table {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/table.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_table_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_table_description
+                       tt_content_defValues {
+                               CType = table
+                       }
+               }
+       }
+
+       common.show := addToList(header,text,textpic,image,bullets,table)
+
+       special.elements {
+               uploads {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/filelinks.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_filelinks_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_filelinks_description
+                       tt_content_defValues {
+                               CType = uploads
+                       }
+               }
+
+               menu {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/sitemap2.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_menus_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_menus_description
+                       tt_content_defValues {
+                               CType = menu
+                               menu_type = 0
+                       }
+               }
+
+               html {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/html.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_plainHTML_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_plainHTML_description
+                       tt_content_defValues {
+                               CType = html
+                       }
+               }
+
+               div {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/div.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_divider_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_divider_description
+                       tt_content_defValues {
+                               CType = div
+                       }
+               }
+
+               shortcut {
+                       icon = EXT:frontend/Resources/Public/Icons/ContentElementWizard/shortcut.gif
+                       title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_shortcut_title
+                       description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_shortcut_description
+                       tt_content_defValues {
+                               CType = shortcut
+                       }
+               }
+       }
+
+       special.show := addToList(uploads,menu,html,div,shortcut)
+}
\ No newline at end of file
index 20050a6..7554715 100644 (file)
@@ -26,4 +26,4 @@ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php'][
        \TYPO3\CMS\CssStyledContent\Hooks\PageLayoutView\TextPreviewRenderer::class;
 
 // Include new content elements to modWizards
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/Configuration/PageTS/modWizards.ts">');
\ No newline at end of file
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/Configuration/PageTSconfig/NewContentElementWizard.ts">');
\ No newline at end of file
index f85a3c8..ab1f152 100644 (file)
@@ -103,7 +103,7 @@ class FormUtility implements \TYPO3\CMS\Core\SingletonInterface {
         * @return \TYPO3\CMS\Form\Utility\FormUtility
         */
        public function initializePageTsConfig() {
-               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/PageTS/modWizards.ts">');
+               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/PageTSconfig/modWizards.ts">');
                return $this;
        }
 
diff --git a/typo3/sysext/form/Configuration/PageTS/modWizards.ts b/typo3/sysext/form/Configuration/PageTS/modWizards.ts
deleted file mode 100644 (file)
index cc86e52..0000000
+++ /dev/null
@@ -1,287 +0,0 @@
-mod.wizards {
-       newContentElement.wizardItems {
-               forms.elements {
-                       mailform {
-                               tt_content_defValues {
-                                       bodytext (
-enctype = multipart/form-data
-method = post
-prefix = tx_form
-                                       )
-                               }
-                       }
-               }
-       }
-       form {
-               defaults {
-                       showTabs = elements, options, form
-                       tabs {
-                               elements {
-                                       showAccordions = basic, predefined, content
-                                       accordions {
-                                               basic {
-                                                       showButtons = checkbox, fieldset, fileupload, hidden, password, radio, reset, select, submit, textarea, textline
-                                               }
-                                               predefined {
-                                                       showButtons = email, radiogroup, checkboxgroup, name
-                                               }
-                                               content {
-                                                       showButtons = header, textblock
-                                               }
-                                       }
-                               }
-                               options {
-                                       showAccordions = legend, label, attributes, options, validation, filters, various
-                                       accordions {
-                                               attributes {
-                                                       showProperties = accept, acceptcharset, accesskey, action, alt, checked, class, cols, dir, disabled, enctype, id, label, lang, maxlength, method, multiple, name, placeholder, readonly, rows, selected, size, src, style, tabindex, title, type, value
-                                               }
-                                               label {
-                                                       showProperties = label
-                                               }
-                                               validation {
-                                                       showRules = alphabetic, alphanumeric, between, date, digit, email, equals, fileallowedtypes, filemaximumsize, fileminimumsize, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
-                                                       rules {
-                                                               alphabetic {
-                                                                       showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
-                                                               }
-                                                               alphanumeric {
-                                                                       showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
-                                                               }
-                                                               between {
-                                                                       showProperties = message, error, breakOnError, showMessage, minimum, maximum, inclusive
-                                                               }
-                                                               date {
-                                                                       showProperties = message, error, breakOnError, showMessage, format
-                                                               }
-                                                               digit {
-                                                                       showProperties = message, error, breakOnError, showMessage
-                                                               }
-                                                               email {
-                                                                       showProperties = message, error, breakOnError, showMessage
-                                                               }
-                                                               equals {
-                                                                       showProperties = message, error, breakOnError, showMessage, field
-                                                               }
-                                                               fileallowedtypes {
-                                                                       showProperties = message, error, breakOnError, showMessage, types
-                                                               }
-                                                               filemaximumsize {
-                                                                       showProperties = message, error, breakOnError, showMessage, maximum
-                                                               }
-                                                               fileminimumsize {
-                                                                       showProperties = message, error, breakOnError, showMessage, minimum
-                                                               }
-                                                               float {
-                                                                       showProperties = message, error, breakOnError, showMessage
-                                                               }
-                                                               greaterthan {
-                                                                       showProperties = message, error, breakOnError, showMessage, minimum
-                                                               }
-                                                               inarray {
-                                                                       showProperties = message, error, breakOnError, showMessage, array, strict
-                                                               }
-                                                               integer {
-                                                                       showProperties = message, error, breakOnError, showMessage
-                                                               }
-                                                               ip {
-                                                                       showProperties = message, error, breakOnError, showMessage
-                                                               }
-                                                               length {
-                                                                       showProperties = message, error, breakOnError, showMessage, minimum, maximum
-                                                               }
-                                                               lessthan {
-                                                                       showProperties = message, error, breakOnError, showMessage, maximum
-                                                               }
-                                                               regexp {
-                                                                       showProperties = message, error, breakOnError, showMessage, expression
-                                                               }
-                                                               required {
-                                                                       showProperties = message, error, breakOnError, showMessage
-                                                               }
-                                                               uri {
-                                                                       showProperties = message, error, breakOnError, showMessage
-                                                               }
-                                                       }
-                                               }
-                                               filtering {
-                                                       showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, removexss, stripnewlines, titlecase, trim, uppercase
-                                                       filters {
-                                                               alphabetic {
-                                                                       showProperties = allowWhiteSpace
-                                                               }
-                                                               alphanumeric {
-                                                                       showProperties = allowWhiteSpace
-                                                               }
-                                                               currency {
-                                                                       showProperties = decimalPoint, thousandSeparator
-                                                               }
-                                                               digit {
-                                                                       showProperties =
-                                                               }
-                                                               integer {
-                                                                       showProperties =
-                                                               }
-                                                               lowercase {
-                                                                       showProperties =
-                                                               }
-                                                               regexp {
-                                                                       showProperties = expression
-                                                               }
-                                                               removexss {
-                                                                       showProperties =
-                                                               }
-                                                               stripnewlines {
-                                                                       showProperties =
-                                                               }
-                                                               titlecase {
-                                                                       showProperties =
-                                                               }
-                                                               trim {
-                                                                       showProperties = characterList
-                                                               }
-                                                               uppercase {
-                                                                       showProperties =
-                                                               }
-                                                       }
-                                               }
-                                       }
-                               }
-                               form {
-                                       showAccordions = behaviour, prefix, attributes, postProcessor
-                                       accordions {
-                                               attributes {
-                                                       showProperties = accept, acceptcharset, action, class, dir, enctype, id, lang, method, name, style, title
-                                               }
-                                               postProcessor {
-                                                       showPostProcessors = mail, redirect
-                                                       postProcessors {
-                                                               mail {
-                                                                       showProperties = recipientEmail, senderEmail, subject
-                                                               }
-                                                               redirect {
-                                                                       showProperties = destination
-                                                               }
-                                                       }
-                                               }
-                                       }
-                               }
-                       }
-               }
-               elements {
-                       button {
-                               showAccordions = attributes
-                               accordions {
-                                       attributes {
-                                               showProperties = value
-                                       }
-                               }
-                       }
-                       checkbox {
-                               showAccordions = label, attributes, validation
-                               accordions {
-                                       attributes {
-                                               showProperties = name, value
-                                       }
-                                       validation {
-                                               showRules = required
-                                       }
-                               }
-                       }
-                       fieldset {
-                               showAccordions = legend
-                       }
-                       fileupload {
-                               showAccordions = label, attributes, validation
-                               accordions {
-                                       attributes {
-                                               showProperties = name
-                                       }
-                                       validation {
-                                               showRules = required, fileallowedtypes, filemaximumsize, fileminimumsize
-                                       }
-                               }
-                       }
-                       hidden {
-                               showAccordions = attributes
-                               accordions {
-                                       attributes {
-                                               showProperties = name, value
-                                       }
-                               }
-                       }
-                       password {
-                               showAccordions = label, attributes, validation
-                               accordions {
-                                       attributes {
-                                               showProperties = name, placeholder
-                                       }
-                                       validation {
-                                               showRules = required, equals
-                                       }
-                               }
-                       }
-                       radio < .checkbox
-                       reset < .button
-                       select {
-                               showAccordions = label, attributes, options, validation
-                               accordions {
-                                       attributes {
-                                               showProperties = name, multiple
-                                       }
-                                       validation {
-                                               showRules = required
-                                       }
-                               }
-                       }
-                       submit < .button
-                       textarea {
-                               showAccordions = label, attributes, validation, filters
-                               accordions {
-                                       attributes {
-                                               showProperties = name, placeholder, cols, rows
-                                       }
-                                       filtering {
-                                               showFilters = alphabetic, alphanumeric, lowercase, regexp, stripnewlines, titlecase, trim, uppercase
-                                       }
-                                       validation {
-                                               showRules = alphabetic, alphanumeric, length, regexp, required
-                                       }
-                               }
-                       }
-                       textline {
-                               showAccordions = label, attributes, validation, filters
-                               accordions {
-                                       attributes {
-                                               showProperties = name, placeholder
-                                       }
-                                       validation {
-                                               showRules = alphabetic, alphanumeric, between, date, digit, email, equals, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
-                                       }
-                                       filtering {
-                                               showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, titlecase, trim, uppercase
-                                       }
-                               }
-                       }
-                       checkboxgroup {
-                               showAccordions = legend, options, various, validation
-                               accordions {
-                                       validation {
-                                               showRules = required
-                                       }
-                               }
-                       }
-                       email < .textline
-                       header {
-                               showAccordions = various
-                       }
-                       textblock {
-                               showAccordions = various
-                       }
-                       name {
-                               showAccordions = legend, various
-                       }
-                       radiogroup < .checkboxgroup
-               }
-       }
-}
diff --git a/typo3/sysext/form/Configuration/PageTSconfig/modWizards.ts b/typo3/sysext/form/Configuration/PageTSconfig/modWizards.ts
new file mode 100644 (file)
index 0000000..cc86e52
--- /dev/null
@@ -0,0 +1,287 @@
+mod.wizards {
+       newContentElement.wizardItems {
+               forms.elements {
+                       mailform {
+                               tt_content_defValues {
+                                       bodytext (
+enctype = multipart/form-data
+method = post
+prefix = tx_form
+                                       )
+                               }
+                       }
+               }
+       }
+       form {
+               defaults {
+                       showTabs = elements, options, form
+                       tabs {
+                               elements {
+                                       showAccordions = basic, predefined, content
+                                       accordions {
+                                               basic {
+                                                       showButtons = checkbox, fieldset, fileupload, hidden, password, radio, reset, select, submit, textarea, textline
+                                               }
+                                               predefined {
+                                                       showButtons = email, radiogroup, checkboxgroup, name
+                                               }
+                                               content {
+                                                       showButtons = header, textblock
+                                               }
+                                       }
+                               }
+                               options {
+                                       showAccordions = legend, label, attributes, options, validation, filters, various
+                                       accordions {
+                                               attributes {
+                                                       showProperties = accept, acceptcharset, accesskey, action, alt, checked, class, cols, dir, disabled, enctype, id, label, lang, maxlength, method, multiple, name, placeholder, readonly, rows, selected, size, src, style, tabindex, title, type, value
+                                               }
+                                               label {
+                                                       showProperties = label
+                                               }
+                                               validation {
+                                                       showRules = alphabetic, alphanumeric, between, date, digit, email, equals, fileallowedtypes, filemaximumsize, fileminimumsize, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
+                                                       rules {
+                                                               alphabetic {
+                                                                       showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
+                                                               }
+                                                               alphanumeric {
+                                                                       showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
+                                                               }
+                                                               between {
+                                                                       showProperties = message, error, breakOnError, showMessage, minimum, maximum, inclusive
+                                                               }
+                                                               date {
+                                                                       showProperties = message, error, breakOnError, showMessage, format
+                                                               }
+                                                               digit {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               email {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               equals {
+                                                                       showProperties = message, error, breakOnError, showMessage, field
+                                                               }
+                                                               fileallowedtypes {
+                                                                       showProperties = message, error, breakOnError, showMessage, types
+                                                               }
+                                                               filemaximumsize {
+                                                                       showProperties = message, error, breakOnError, showMessage, maximum
+                                                               }
+                                                               fileminimumsize {
+                                                                       showProperties = message, error, breakOnError, showMessage, minimum
+                                                               }
+                                                               float {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               greaterthan {
+                                                                       showProperties = message, error, breakOnError, showMessage, minimum
+                                                               }
+                                                               inarray {
+                                                                       showProperties = message, error, breakOnError, showMessage, array, strict
+                                                               }
+                                                               integer {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               ip {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               length {
+                                                                       showProperties = message, error, breakOnError, showMessage, minimum, maximum
+                                                               }
+                                                               lessthan {
+                                                                       showProperties = message, error, breakOnError, showMessage, maximum
+                                                               }
+                                                               regexp {
+                                                                       showProperties = message, error, breakOnError, showMessage, expression
+                                                               }
+                                                               required {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               uri {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                       }
+                                               }
+                                               filtering {
+                                                       showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, removexss, stripnewlines, titlecase, trim, uppercase
+                                                       filters {
+                                                               alphabetic {
+                                                                       showProperties = allowWhiteSpace
+                                                               }
+                                                               alphanumeric {
+                                                                       showProperties = allowWhiteSpace
+                                                               }
+                                                               currency {
+                                                                       showProperties = decimalPoint, thousandSeparator
+                                                               }
+                                                               digit {
+                                                                       showProperties =
+                                                               }
+                                                               integer {
+                                                                       showProperties =
+                                                               }
+                                                               lowercase {
+                                                                       showProperties =
+                                                               }
+                                                               regexp {
+                                                                       showProperties = expression
+                                                               }
+                                                               removexss {
+                                                                       showProperties =
+                                                               }
+                                                               stripnewlines {
+                                                                       showProperties =
+                                                               }
+                                                               titlecase {
+                                                                       showProperties =
+                                                               }
+                                                               trim {
+                                                                       showProperties = characterList
+                                                               }
+                                                               uppercase {
+                                                                       showProperties =
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                               form {
+                                       showAccordions = behaviour, prefix, attributes, postProcessor
+                                       accordions {
+                                               attributes {
+                                                       showProperties = accept, acceptcharset, action, class, dir, enctype, id, lang, method, name, style, title
+                                               }
+                                               postProcessor {
+                                                       showPostProcessors = mail, redirect
+                                                       postProcessors {
+                                                               mail {
+                                                                       showProperties = recipientEmail, senderEmail, subject
+                                                               }
+                                                               redirect {
+                                                                       showProperties = destination
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               }
+               elements {
+                       button {
+                               showAccordions = attributes
+                               accordions {
+                                       attributes {
+                                               showProperties = value
+                                       }
+                               }
+                       }
+                       checkbox {
+                               showAccordions = label, attributes, validation
+                               accordions {
+                                       attributes {
+                                               showProperties = name, value
+                                       }
+                                       validation {
+                                               showRules = required
+                                       }
+                               }
+                       }
+                       fieldset {
+                               showAccordions = legend
+                       }
+                       fileupload {
+                               showAccordions = label, attributes, validation
+                               accordions {
+                                       attributes {
+                                               showProperties = name
+                                       }
+                                       validation {
+                                               showRules = required, fileallowedtypes, filemaximumsize, fileminimumsize
+                                       }
+                               }
+                       }
+                       hidden {
+                               showAccordions = attributes
+                               accordions {
+                                       attributes {
+                                               showProperties = name, value
+                                       }
+                               }
+                       }
+                       password {
+                               showAccordions = label, attributes, validation
+                               accordions {
+                                       attributes {
+                                               showProperties = name, placeholder
+                                       }
+                                       validation {
+                                               showRules = required, equals
+                                       }
+                               }
+                       }
+                       radio < .checkbox
+                       reset < .button
+                       select {
+                               showAccordions = label, attributes, options, validation
+                               accordions {
+                                       attributes {
+                                               showProperties = name, multiple
+                                       }
+                                       validation {
+                                               showRules = required
+                                       }
+                               }
+                       }
+                       submit < .button
+                       textarea {
+                               showAccordions = label, attributes, validation, filters
+                               accordions {
+                                       attributes {
+                                               showProperties = name, placeholder, cols, rows
+                                       }
+                                       filtering {
+                                               showFilters = alphabetic, alphanumeric, lowercase, regexp, stripnewlines, titlecase, trim, uppercase
+                                       }
+                                       validation {
+                                               showRules = alphabetic, alphanumeric, length, regexp, required
+                                       }
+                               }
+                       }
+                       textline {
+                               showAccordions = label, attributes, validation, filters
+                               accordions {
+                                       attributes {
+                                               showProperties = name, placeholder
+                                       }
+                                       validation {
+                                               showRules = alphabetic, alphanumeric, between, date, digit, email, equals, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
+                                       }
+                                       filtering {
+                                               showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, titlecase, trim, uppercase
+                                       }
+                               }
+                       }
+                       checkboxgroup {
+                               showAccordions = legend, options, various, validation
+                               accordions {
+                                       validation {
+                                               showRules = required
+                                       }
+                               }
+                       }
+                       email < .textline
+                       header {
+                               showAccordions = various
+                       }
+                       textblock {
+                               showAccordions = various
+                       }
+                       name {
+                               showAccordions = legend, various
+                       }
+                       radiogroup < .checkboxgroup
+               }
+       }
+}
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/AccessibilityIcons/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/AccessibilityIcons/pageTSConfig.txt
deleted file mode 100644 (file)
index 2c1cfdc..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-# ***************************************************************************************
-# Default Page TSconfig for enabling the use of accessibility icons on links
-#
-# ***************************************************************************************
-
-       ## Anchor classes configuration for use by the anchor accessibility feature
-       ## Add inline icons to the links
-RTE.classesAnchor {
-       externalLink {
-               image = EXT:rtehtmlarea/Resources/Public/Images/external_link.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_altText
-       }
-       externalLinkInNewWindow {
-               image = EXT:rtehtmlarea/Resources/Public/Images/external_link_new_window.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_new_window_altText
-       }
-       internalLink {
-               image = EXT:rtehtmlarea/Resources/Public/Images/internal_link.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_altText
-       }
-       internalLinkInNewWindow {
-               image = EXT:rtehtmlarea/Resources/Public/Images/internal_link_new_window.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_new_window_altText
-       }
-       download {
-               image = EXT:rtehtmlarea/Resources/Public/Images/download.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:download_altText
-       }
-       mail {
-               image = EXT:rtehtmlarea/Resources/Public/Images/mail.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:mail_altText
-       }
-}
-
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Advanced/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Advanced/pageTSConfig.txt
deleted file mode 100644 (file)
index 104d592..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# ***************************************************************************************
-# "Advanced" Page TSconfig for htmlArea RTE
-#
-# Sets default Page TSConfig with minimal features for advanced users.
-# ***************************************************************************************
-
-RTE.default {
-
-               ## Toolbar options applicable to all RTE's
-               ## The TCA configuration may add buttons to the toolbar
-       showButtons =  bold,italic,undo,redo,about
-
-}
-
-       ## front end RTE configuration for the general public
-RTE.default.FE < RTE.default
-RTE.default.FE.FE >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Demo/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Demo/pageTSConfig.txt
deleted file mode 100644 (file)
index 74a0117..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-# ***************************************************************************************
-# "Demo" Page TSconfig for htmlArea RTE
-#
-# Sets default Page TSConfig with maximal features for users who want to explore the features of the RTE.
-# ***************************************************************************************
-
-       ## Define labels and styles to be applied to class selectors in the interface of the RTE
-       ## Partial re-use of color scheme and frame scheme from CSS Styled Content extension
-RTE.classes {
-       align-left {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifyleft
-               value = text-align: left;
-       }
-       align-center {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifycenter
-               value = text-align: center;
-       }
-       align-right {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifyright
-               value = text-align: right;
-       }
-       csc-frame-frame1 {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:frame-frame1
-               value = background-color: #EDEBF1; border: 1px solid #333333;
-       }
-       csc-frame-frame2 {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:frame-frame2
-               value = background-color: #F5FFAA; border: 1px solid #333333;
-       }
-       important {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf.xlf:important
-               value = color: #8A0020;
-       }
-       name-of-person {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:name-of-person
-               value = color: #10007B;
-       }
-       detail {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:detail
-               value = color: #186900;
-       }
-       component-items {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:component-items
-               value = color: #186900;
-       }
-       action-items {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:action-items
-               value = color: #8A0020;
-       }
-       component-items-ordered {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:component-items
-               value = color: #186900;
-       }
-       action-items-ordered {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:action-items
-               value = color: #8A0020;
-       }
-}
-
-       ## Anchor classes configuration for use by the anchor accesibility feature
-RTE.classesAnchor {
-       externalLink {
-               class = external-link
-               type = url
-               image = EXT:rtehtmlarea/Resources/Public/Images/external_link.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_altText
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_titleText
-       }
-       externalLinkInNewWindow {
-               class = external-link-new-window
-               type = url
-               image = EXT:rtehtmlarea/Resources/Public/Images/external_link_new_window.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_new_window_altText
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_new_window_titleText
-       }
-       internalLink {
-               class = internal-link
-               type = page
-               image = EXT:rtehtmlarea/Resources/Public/Images/internal_link.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_altText
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_titleText
-       }
-       internalLinkInNewWindow {
-               class = internal-link-new-window
-               type = page
-               image = EXT:rtehtmlarea/Resources/Public/Images/internal_link_new_window.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_new_window_altText
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_new_window_titleText
-       }
-       download {
-               class = download
-               type = file
-               image = EXT:rtehtmlarea/Resources/Public/Images/download.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:download_altText
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:download_titleText
-       }
-       mail {
-               class = mail
-               type = mail
-               image = EXT:rtehtmlarea/Resources/Public/Images/mail.gif
-               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:mail_altText
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:mail_titleText
-       }
-}
-
-       ## Default RTE configuration
-RTE.default {
-
-               ## Markup options
-       enableWordClean = 1
-       removeTrailingBR = 1
-       removeComments = 1
-       removeTags = center, o:p, sdfield
-       removeTagsAndContents = link, meta, script, style, title
-
-               ## Allow img tags
-       proc.entryHTMLparser_db.tags.img >
-
-               ## Allow style attribute
-       proc.entryHTMLparser_db.tags {
-               p.allowedAttribs := addToList(style)
-               span.fixAttrib.style.unset >
-       }
-
-               ## Toolbar options
-       showButtons = *
-
-               ## More toolbar options
-       keepButtonGroupTogether = 1
-
-               ## Enable status bar
-       showStatusBar =  1
-
-               ## For this demo, do not remove font, strike and u tags
-       proc.entryHTMLparser_db.removeTags := removeFromList(font,strike,u)
-
-               ## List all class selectors that are allowed on the way to the database
-       proc.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
-       proc.allowedClasses := addToList(align-left, align-center, align-right, align-justify)
-       proc.allowedClasses := addToList(csc-frame-frame1, csc-frame-frame2)
-       proc.allowedClasses := addToList(component-items, action-items)
-       proc.allowedClasses := addToList(component-items-ordered, action-items-ordered)
-       proc.allowedClasses := addToList(important, name-of-person, detail)
-       proc.allowedClasses := addToList(indent)
-
-               ## Restrict the list of class selectors presented by the RTE to the following for the specified tags:
-       buttons.blockstyle.tags.div.allowedClasses = align-left, align-center, align-right
-       buttons.blockstyle.tags.div.allowedClasses := addToList(csc-frame-frame1, csc-frame-frame2)
-       buttons.blockstyle.tags.table.allowedClasses = csc-frame-frame1, csc-frame-frame2
-       buttons.blockstyle.tags.td.allowedClasses = align-left, align-center, align-right
-       buttons.textstyle.tags.span.allowedClasses = important, name-of-person, detail
-
-               ## Configuration of links
-               ## These classes should also be in the list proc.allowedClasses
-       buttons.link.properties.class.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
-       buttons.link.page.properties.class.default = internal-link
-       buttons.link.url.properties.class.default = external-link-new-window
-       buttons.link.file.properties.class.default = download
-       buttons.link.mail.properties.class.default = mail
-
-               ## Show all applicable class selectors available in the style sheet file
-       buttons.blockstyle.showTagFreeClasses = 1
-       buttons.textstyle.showTagFreeClasses = 1
-
-               ## Configuration specific to the table button or TableOperations feature
-               ## Use the context menu instead of the toolbar for table operations, but keep toggleborders button in toolbar
-               ## Show borders on table creation
-       hideTableOperationsInToolbar = 1
-       buttons.toggleborders.keepInToolbar = 1
-       buttons.toggleborders.setOnTableCreation = 1
-
-               ## Configuration specific to the inserttag button or QuickTag feature
-               ## Do not allow insertion of the following tags
-       buttons.inserttag.denyTags = font, u, strike, table
-
-               ## Configuration specific to the bold and italic buttons
-               ## Add hotkeys associated with bold, italic, strikethrough and underline buttons
-       buttons.bold.hotKey = b
-       buttons.italic.hotKey = i
-       buttons.strikethrough.hotKey = s
-       buttons.underline.hotkey = u
-
-               ## Configuration specific to the spellcheck button or SpellCheck feature
-               ## Enable the use of personal dictionaries
-       buttons.spellcheck.enablePersonalDictionaries = 1
-
-               ## Configuration of microdata schema
-       schema {
-               sources {
-                       schemaOrg = EXT:rtehtmlarea/extensions/MicrodataSchema/res/schemaOrgAll.rdf
-               }
-       }
-}
-
-       ## Use same processing as on entry to database to clean content pasted into the editor
-RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db
-
-       ## front end RTE configuration
-RTE.default.FE < RTE.default
-RTE.default.FE.FE >
-RTE.default.FE.userElements >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Extensions/InlineElements/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Extensions/InlineElements/pageTSConfig.txt
deleted file mode 100644 (file)
index 252b173..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-# ***************************************************************************************
-# Additonal proc options in Page TSconfig for Inline Elements extension
-# ***************************************************************************************
-
-       ## DO NOT REMAP BOLD AND ITALIC TO STRONG AND EMPHASIS AND VICE VERSA
-RTE.default.proc.transformBoldAndItalicTags = 0
-RTE.default.FE.proc.transformBoldAndItalicTags = 0
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Image/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Image/pageTSConfig.txt
deleted file mode 100644 (file)
index 4b689a6..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-# ***************************************************************************************
-# Default Page TSconfig for enabling the use of images in the RTE
-#
-# Sets Page TSConfig for the use of images.
-# Note that all these settings are already included in the "Demo" default configuration
-# However, this will update the "Minimal" and "Typical" default configurations
-# ***************************************************************************************
-
-       ## Default RTE configuration
-RTE.default {
-
-               ## Enable the image button
-       showButtons := addToList(image)
-
-               ## Tags allowed outside p & div
-               ## Adding img tag to the default list
-       proc.allowTagsOutside := addToList(img)
-
-               ## Do not remove img tags
-       proc.entryHTMLparser_db.tags.img >
-}
-
-RTE.default.FE.showButtons < RTE.default.showButtons
-RTE.default.FE.proc.allowTagsOutside < RTE.default.proc.allowTagsOutside
-RTE.default.FE.proc.entryHTMLparser_db.tags.img >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Proc/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Proc/pageTSConfig.txt
deleted file mode 100644 (file)
index 1ac7bc3..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-# ***************************************************************************************
-# Default proc options in Page TSconfig for htmlArea RTE
-#
-# Sets the proc options for all default configurations.
-#
-# Assumptions: - CSS Styled Content is installed.
-#              - XHTML output is expected.
-#
-# ***************************************************************************************
-
-       ## Default RTE processing rules
-RTE.default.proc {
-
-               ## TRANSFORMATION METHOD
-               ## We assume that CSS Styled Content is used.
-       overruleMode = ts_css
-
-               ## DO NOT CONVERT BR TAGS INTO LINEBREAKS
-               ## br tags in the content are assumed to be intentional.
-       dontConvBRtoParagraph = 1
-
-               ## PRESERVE DIV SECTIONS - DO NOT REMAP TO P
-       preserveDIVSections = 1
-
-               ## TAGS ALLOWED OUTSIDE P & DIV
-       allowTagsOutside = address, article, aside, blockquote, footer, header, hr, nav, section
-
-               ## TAGS ALLOWED
-               ## Added to the default internal list: b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span
-               ## But, for the sake of clarity, we use a complete list in alphabetic order.
-               ## center, font, link, meta, o:p, strike, sdfield, style, title and u will be removed on entry (see below).
-               ## b and i will be remapped on exit (see below).
-               ## Note that the link accessibility feature of htmlArea RTE does insert img tags.
-       allowTags = a, abbr, acronym, address, article, aside, b, bdo, big, blockquote, br, caption, center, cite, code, col, colgroup, dd, del, dfn, dl, div, dt, em, font, footer
-       allowTags := addToList(header, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, label, li, link, meta, nav, ol, p, pre, q, samp, sdfield, section, small)
-       allowTags := addToList(span, strike, strong, style, sub, sup, table, thead, tbody, tfoot, td, th, tr, title, tt, u, ul, var)
-
-               ## TAGS DENIED
-               ## Make sure we can set rules on any tag listed in allowTags.
-       denyTags >
-
-               ## ALLOWED P & DIV ATTRIBUTES
-               ## Attributes class and align are always preserved
-               ## Align attribute will be unset on entry (see below)
-               ## This is a list of additional attributes to keep
-       keepPDIVattribs = id, title, dir, lang, xml:lang, itemscope, itemtype, itemprop
-
-               ## REMAP BOLD AND ITALIC TO STRONG AND EMPHASIS AND VICE VERSA
-       transformBoldAndItalicTags = 1
-
-               ## ALLOW TO WRITE ABOUT HTML
-       dontUndoHSC_db = 1
-       dontHSC_rte = 1
-
-               ## CONTENT TO DATABASE
-       entryHTMLparser_db = 1
-       entryHTMLparser_db {
-
-                       ## TAGS ALLOWED
-                       ## Always use the same list of allowed tags.
-               allowTags < RTE.default.proc.allowTags
-
-                       ## TAGS DENIED
-                       ## Make sure we can set rules on any tag listed in allowTags.
-               denyTags >
-
-                       ## AVOID CONTENT BEING HSC'ed TWICE
-               htmlSpecialChars = 0
-
-               tags {
-
-                               ## REMOVE IMG TAGS
-                       img.allowedAttribs = 0
-                       img.rmTagIfNoAttrib = 1
-
-                               ## CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
-                       span.fixAttrib.style.unset = 1
-                       span.allowedAttribs = id, title, dir, lang, xml:lang, class, itemscope, itemtype, itemprop
-                       span.rmTagIfNoAttrib = 1
-                       p {
-                               allowedAttribs = id, title, dir, lang, xml:lang, class, itemscope, itemtype, itemprop
-                               fixAttrib.align.unset = 1
-                       }
-                       div < .p
-                       hr.allowedAttribs = class
-                       b.allowedAttribs < .span.allowedAttribs
-                       bdo.allowedAttribs < .span.allowedAttribs
-                       big.allowedAttribs < .span.allowedAttribs
-                       blockquote.allowedAttribs < .span.allowedAttribs
-                       cite.allowedAttribs < .span.allowedAttribs
-                       code.allowedAttribs < .span.allowedAttribs
-                       del.allowedAttribs < .span.allowedAttribs
-                       dfn.allowedAttribs < .span.allowedAttribs
-                       em.allowedAttribs < .span.allowedAttribs
-                       i.allowedAttribs < .span.allowedAttribs
-                       ins.allowedAttribs < .span.allowedAttribs
-                       kbd.allowedAttribs < .span.allowedAttribs
-                       label.allowedAttribs < .span.allowedAttribs
-                       q.allowedAttribs < .span.allowedAttribs
-                       samp.allowedAttribs < .span.allowedAttribs
-                       small.allowedAttribs < .span.allowedAttribs
-                       strike.allowedAttribs < .span.allowedAttribs
-                       strong.allowedAttribs < .span.allowedAttribs
-                       sub.allowedAttribs < .span.allowedAttribs
-                       sup.allowedAttribs < .span.allowedAttribs
-                       tt.allowedAttribs < .span.allowedAttribs
-                       u.allowedAttribs < .span.allowedAttribs
-                       var.allowedAttribs < .span.allowedAttribs
-               }
-
-                       ## 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 = center, font, link, meta, o:p, sdfield, strike, style, title, u
-
-                       ## PROTECT CUSTOM TAGS
-               keepNonMatchedTags = protect
-       }
-
-       HTMLparser_db {
-                       ## STRIP ALL ATTRIBUTES FROM THESE TAGS
-                       ## If this list of tags is not set, it will default to: b,i,u,br,center,hr,sub,sup,strong,em,li,ul,ol,blockquote,strike.
-                       ## However, we want to keep xml:lang attribute on most tags and tags from the default list where cleaned on entry.
-               noAttrib = br
-
-                       ## XHTML COMPLIANCE
-                       ## Note that applying xhtml_cleaning on exit would break non-standard attributes of typolink tags
-               xhtml_cleaning = 1
-       }
-
-       exitHTMLparser_db = 1
-       exitHTMLparser_db {
-                       ## KEEP ALL TAGS
-                       ## Unwanted tags were removed on entry.
-                       ## Without this rule, the parser will remove all tags! Presumably, this rule will be more efficient than repeating the allowTags rule
-               keepNonMatchedTags = 1
-
-                       ## AVOID CONTENT BEING HSC'ed TWICE
-               htmlSpecialChars = 0
-       }
-}
-
-       ## Use same RTE processing rules in FE
-RTE.default.FE.proc < RTE.default.proc
-
-       ## RTE processing rules for bodytext column of tt_content table
-       ## Erase settings from other extensions
-RTE.config.tt_content.bodytext >
-
-       ## Make sure we use ts_css transformation
-RTE.config.tt_content.bodytext.proc.overruleMode = ts_css
-RTE.config.tt_content.bodytext.types.text.proc.overruleMode = ts_css
-RTE.config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_css
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Style/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Style/pageTSConfig.txt
deleted file mode 100644 (file)
index a5ee2c1..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# ***************************************************************************************
-# Default proc options in Page TSconfig for htmlArea RTE formatting with style attribute
-# ***************************************************************************************
-
-       ## Default RTE processing rules
-RTE.default.proc {
-
-               ## ALLOWED P & DIV ATTRIBUTES
-       keepPDIVattribs := addToList(style)
-
-               ## CONTENT TO DATABASE
-       entryHTMLparser_db {
-               tags {
-                               ## CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
-                       span.fixAttrib.style.unset >
-                       span.allowedAttribs := addToList(style)
-                       p.allowedAttribs := addToList(style)
-                       div < .p
-                       hr.allowedAttribs := addToList(style)
-                       b.allowedAttribs := addToList(style)
-                       bdo.allowedAttribs := addToList(style)
-                       big.allowedAttribs := addToList(style)
-                       blockquote.allowedAttribs := addToList(style)
-                       cite.allowedAttribs := addToList(style)
-                       code.allowedAttribs := addToList(style)
-                       del.allowedAttribs := addToList(style)
-                       dfn.allowedAttribs := addToList(style)
-                       em.allowedAttribs := addToList(style)
-                       i.allowedAttribs := addToList(style)
-                       ins.allowedAttribs := addToList(style)
-                       kbd.allowedAttribs := addToList(style)
-                       label.allowedAttribs := addToList(style)
-                       q.allowedAttribs := addToList(style)
-                       samp.allowedAttribs := addToList(style)
-                       small.allowedAttribs := addToList(style)
-                       strike.allowedAttribs := addToList(style)
-                       strong.allowedAttribs := addToList(style)
-                       sub.allowedAttribs := addToList(style)
-                       sup.allowedAttribs := addToList(style)
-                       tt.allowedAttribs := addToList(style)
-                       u.allowedAttribs := addToList(style)
-                       var.allowedAttribs := addToList(style)
-               }
-       }
-}
-
-       ## Use same RTE processing rules in FE
-RTE.default.FE.proc < RTE.default.proc
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Typical/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Typical/pageTSConfig.txt
deleted file mode 100644 (file)
index 7fe85c9..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-# ***************************************************************************************
-# "Typical" Page TSconfig for htmlArea RTE and Classic RTE
-#
-# Sets Page TSConfig with most commonly used features representing a good start for typical sites.
-# ***************************************************************************************
-
-       ## Define labels and styles to be applied to class selectors in the interface of the RTE
-       ## The examples included here make partial re-use of color scheme and frame scheme from CSS Styled Content extension
-RTE.classes {
-       align-left {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifyleft
-               value = text-align: left;
-       }
-       align-center {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifycenter
-               value = text-align: center;
-       }
-       align-right {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifyright
-               value = text-align: right;
-       }
-       csc-frame-frame1 {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:frame-frame1
-               value = background-color: #EDEBF1; border: 1px solid #333333;
-       }
-       csc-frame-frame2 {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:frame-frame2
-               value = background-color: #F5FFAA; border: 1px solid #333333;
-       }
-       important {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:important
-               value = color: #8A0020;
-       }
-       name-of-person {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:name-of-person
-               value = color: #10007B;
-       }
-       detail {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:detail
-               value = color: #186900;
-       }
-       component-items {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:component-items
-               value = color: #186900;
-       }
-       action-items {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:action-items
-               value = color: #8A0020;
-       }
-       component-items-ordered {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:component-items
-               value = color: #186900;
-       }
-       action-items-ordered {
-               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:action-items
-               value = color: #8A0020;
-       }
-}
-
-       ## Anchor classes configuration for use by the anchor accesibility feature
-RTE.classesAnchor {
-       externalLink {
-               class = external-link
-               type = url
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_titleText
-       }
-       externalLinkInNewWindow {
-               class = external-link-new-window
-               type = url
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_new_window_titleText
-       }
-       internalLink {
-               class = internal-link
-               type = page
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_titleText
-       }
-       internalLinkInNewWindow {
-               class = internal-link-new-window
-               type = page
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_new_window_titleText
-       }
-       download {
-               class = download
-               type = file
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:download_titleText
-       }
-       mail {
-               class = mail
-               type = mail
-               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:mail_titleText
-       }
-}
-
-       ## Default RTE configuration
-RTE.default {
-
-               ## Markup options
-       enableWordClean = 1
-       removeTrailingBR = 1
-       removeComments = 1
-       removeTags = center, font, o:p, sdfield, strike, u
-       removeTagsAndContents = link, meta, script, style, title
-
-               ## Toolbar options
-               ## The TCA configuration may add buttons to the toolbar
-       showButtons = blockstylelabel, blockstyle, textstylelabel, textstyle
-       showButtons := addToList(formatblock, bold, italic, subscript, superscript)
-       showButtons := addToList(orderedlist, unorderedlist, outdent, indent, textindicator)
-       showButtons := addToList(insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about)
-       showButtons := addToList(toggleborders, tableproperties)
-       showButtons := addToList(rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit)
-       showButtons := addToList(columninsertbefore, columninsertafter, columndelete, columnsplit)
-       showButtons := addToList(cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge)
-
-               ## More toolbar options
-       keepButtonGroupTogether = 1
-
-               ## Enable status bar
-       showStatusBar =  1
-
-               ## Hide infrequently used block types in the block formatting selector
-       buttons.formatblock.removeItems = pre,address
-
-               ## List all class selectors that are allowed on the way to the database
-       proc.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
-       proc.allowedClasses := addToList(align-left, align-center, align-right, align-justify)
-       proc.allowedClasses := addToList(csc-frame-frame1, csc-frame-frame2)
-       proc.allowedClasses := addToList(component-items, action-items)
-       proc.allowedClasses := addToList(component-items-ordered, action-items-ordered)
-       proc.allowedClasses := addToList(important, name-of-person, detail)
-       proc.allowedClasses := addToList(indent)
-
-               ## Restrict the list of class selectors presented by the RTE to the following for the specified tags:
-       buttons.blockstyle.tags.div.allowedClasses = align-left, align-center, align-right
-       buttons.blockstyle.tags.div.allowedClasses := addToList(csc-frame-frame1, csc-frame-frame2)
-       buttons.blockstyle.tags.table.allowedClasses = csc-frame-frame1, csc-frame-frame2
-       buttons.blockstyle.tags.td.allowedClasses = align-left, align-center, align-right
-       buttons.textstyle.tags.span.allowedClasses = important, name-of-person, detail
-
-               ## Configuration of links
-               ## These classes should also be in the list proc.allowedClasses
-       buttons.link.properties.class.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
-       buttons.link.page.properties.class.default = internal-link
-       buttons.link.url.properties.class.default = external-link-new-window
-       buttons.link.file.properties.class.default = download
-       buttons.link.mail.properties.class.default = mail
-
-               ## Configuration specific to the TableOperations feature
-               ## Remove the following fieldsets from the table operations dialogs
-       disableAlignmentFieldsetInTableOperations = 1
-       disableSpacingFieldsetInTableOperations = 1
-       disableColorFieldsetInTableOperations = 1
-       disableLayoutFieldsetInTableOperations = 1
-       disableBordersFieldsetInTableOperations = 1
-               ## Show borders on table creation
-       buttons.toggleborders.setOnTableCreation = 1
-
-               ## Configuration specific to the bold and italic buttons
-               ## Add hotkeys associated with bold and italic buttons
-       buttons.bold.hotKey = b
-       buttons.italic.hotKey = i
-
-               ## Configuration of microdata schema
-       schema {
-               sources {
-                       schemaOrg = EXT:rtehtmlarea/extensions/MicrodataSchema/res/schemaOrgAll.rdf
-               }
-       }
-}
-
-       ## front end RTE configuration for the general public
-RTE.default.FE < RTE.default
-RTE.default.FE.showStatusBar = 0
-RTE.default.FE.hideButtons = chMode, blockstyle, textstyle, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, table, inserttag, findreplace, removeformat, copy, cut, paste
-RTE.default.FE.FE >
-RTE.default.FE.userElements >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/AccessibilityIcons/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/AccessibilityIcons/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..95a0c22
--- /dev/null
@@ -0,0 +1,33 @@
+# ***************************************************************************************
+# Default Page TSconfig for enabling the use of accessibility icons on links
+#
+# ***************************************************************************************
+
+       ## Anchor classes configuration for use by the anchor accessibility feature
+       ## Add inline icons to the links
+RTE.classesAnchor {
+       externalLink {
+               image = EXT:rtehtmlarea/Resources/Public/Images/external_link.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_altText
+       }
+       externalLinkInNewWindow {
+               image = EXT:rtehtmlarea/Resources/Public/Images/external_link_new_window.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_new_window_altText
+       }
+       internalLink {
+               image = EXT:rtehtmlarea/Resources/Public/Images/internal_link.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_altText
+       }
+       internalLinkInNewWindow {
+               image = EXT:rtehtmlarea/Resources/Public/Images/internal_link_new_window.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_new_window_altText
+       }
+       download {
+               image = EXT:rtehtmlarea/Resources/Public/Images/download.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:download_altText
+       }
+       mail {
+               image = EXT:rtehtmlarea/Resources/Public/Images/mail.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:mail_altText
+       }
+}
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Advanced/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Advanced/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..104d592
--- /dev/null
@@ -0,0 +1,17 @@
+# ***************************************************************************************
+# "Advanced" Page TSconfig for htmlArea RTE
+#
+# Sets default Page TSConfig with minimal features for advanced users.
+# ***************************************************************************************
+
+RTE.default {
+
+               ## Toolbar options applicable to all RTE's
+               ## The TCA configuration may add buttons to the toolbar
+       showButtons =  bold,italic,undo,redo,about
+
+}
+
+       ## front end RTE configuration for the general public
+RTE.default.FE < RTE.default
+RTE.default.FE.FE >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Demo/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Demo/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..74a0117
--- /dev/null
@@ -0,0 +1,201 @@
+# ***************************************************************************************
+# "Demo" Page TSconfig for htmlArea RTE
+#
+# Sets default Page TSConfig with maximal features for users who want to explore the features of the RTE.
+# ***************************************************************************************
+
+       ## Define labels and styles to be applied to class selectors in the interface of the RTE
+       ## Partial re-use of color scheme and frame scheme from CSS Styled Content extension
+RTE.classes {
+       align-left {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifyleft
+               value = text-align: left;
+       }
+       align-center {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifycenter
+               value = text-align: center;
+       }
+       align-right {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifyright
+               value = text-align: right;
+       }
+       csc-frame-frame1 {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:frame-frame1
+               value = background-color: #EDEBF1; border: 1px solid #333333;
+       }
+       csc-frame-frame2 {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:frame-frame2
+               value = background-color: #F5FFAA; border: 1px solid #333333;
+       }
+       important {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf.xlf:important
+               value = color: #8A0020;
+       }
+       name-of-person {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:name-of-person
+               value = color: #10007B;
+       }
+       detail {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:detail
+               value = color: #186900;
+       }
+       component-items {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:component-items
+               value = color: #186900;
+       }
+       action-items {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:action-items
+               value = color: #8A0020;
+       }
+       component-items-ordered {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:component-items
+               value = color: #186900;
+       }
+       action-items-ordered {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:action-items
+               value = color: #8A0020;
+       }
+}
+
+       ## Anchor classes configuration for use by the anchor accesibility feature
+RTE.classesAnchor {
+       externalLink {
+               class = external-link
+               type = url
+               image = EXT:rtehtmlarea/Resources/Public/Images/external_link.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_altText
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_titleText
+       }
+       externalLinkInNewWindow {
+               class = external-link-new-window
+               type = url
+               image = EXT:rtehtmlarea/Resources/Public/Images/external_link_new_window.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_new_window_altText
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_new_window_titleText
+       }
+       internalLink {
+               class = internal-link
+               type = page
+               image = EXT:rtehtmlarea/Resources/Public/Images/internal_link.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_altText
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_titleText
+       }
+       internalLinkInNewWindow {
+               class = internal-link-new-window
+               type = page
+               image = EXT:rtehtmlarea/Resources/Public/Images/internal_link_new_window.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_new_window_altText
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_new_window_titleText
+       }
+       download {
+               class = download
+               type = file
+               image = EXT:rtehtmlarea/Resources/Public/Images/download.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:download_altText
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:download_titleText
+       }
+       mail {
+               class = mail
+               type = mail
+               image = EXT:rtehtmlarea/Resources/Public/Images/mail.gif
+               altText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:mail_altText
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:mail_titleText
+       }
+}
+
+       ## Default RTE configuration
+RTE.default {
+
+               ## Markup options
+       enableWordClean = 1
+       removeTrailingBR = 1
+       removeComments = 1
+       removeTags = center, o:p, sdfield
+       removeTagsAndContents = link, meta, script, style, title
+
+               ## Allow img tags
+       proc.entryHTMLparser_db.tags.img >
+
+               ## Allow style attribute
+       proc.entryHTMLparser_db.tags {
+               p.allowedAttribs := addToList(style)
+               span.fixAttrib.style.unset >
+       }
+
+               ## Toolbar options
+       showButtons = *
+
+               ## More toolbar options
+       keepButtonGroupTogether = 1
+
+               ## Enable status bar
+       showStatusBar =  1
+
+               ## For this demo, do not remove font, strike and u tags
+       proc.entryHTMLparser_db.removeTags := removeFromList(font,strike,u)
+
+               ## List all class selectors that are allowed on the way to the database
+       proc.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
+       proc.allowedClasses := addToList(align-left, align-center, align-right, align-justify)
+       proc.allowedClasses := addToList(csc-frame-frame1, csc-frame-frame2)
+       proc.allowedClasses := addToList(component-items, action-items)
+       proc.allowedClasses := addToList(component-items-ordered, action-items-ordered)
+       proc.allowedClasses := addToList(important, name-of-person, detail)
+       proc.allowedClasses := addToList(indent)
+
+               ## Restrict the list of class selectors presented by the RTE to the following for the specified tags:
+       buttons.blockstyle.tags.div.allowedClasses = align-left, align-center, align-right
+       buttons.blockstyle.tags.div.allowedClasses := addToList(csc-frame-frame1, csc-frame-frame2)
+       buttons.blockstyle.tags.table.allowedClasses = csc-frame-frame1, csc-frame-frame2
+       buttons.blockstyle.tags.td.allowedClasses = align-left, align-center, align-right
+       buttons.textstyle.tags.span.allowedClasses = important, name-of-person, detail
+
+               ## Configuration of links
+               ## These classes should also be in the list proc.allowedClasses
+       buttons.link.properties.class.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
+       buttons.link.page.properties.class.default = internal-link
+       buttons.link.url.properties.class.default = external-link-new-window
+       buttons.link.file.properties.class.default = download
+       buttons.link.mail.properties.class.default = mail
+
+               ## Show all applicable class selectors available in the style sheet file
+       buttons.blockstyle.showTagFreeClasses = 1
+       buttons.textstyle.showTagFreeClasses = 1
+
+               ## Configuration specific to the table button or TableOperations feature
+               ## Use the context menu instead of the toolbar for table operations, but keep toggleborders button in toolbar
+               ## Show borders on table creation
+       hideTableOperationsInToolbar = 1
+       buttons.toggleborders.keepInToolbar = 1
+       buttons.toggleborders.setOnTableCreation = 1
+
+               ## Configuration specific to the inserttag button or QuickTag feature
+               ## Do not allow insertion of the following tags
+       buttons.inserttag.denyTags = font, u, strike, table
+
+               ## Configuration specific to the bold and italic buttons
+               ## Add hotkeys associated with bold, italic, strikethrough and underline buttons
+       buttons.bold.hotKey = b
+       buttons.italic.hotKey = i
+       buttons.strikethrough.hotKey = s
+       buttons.underline.hotkey = u
+
+               ## Configuration specific to the spellcheck button or SpellCheck feature
+               ## Enable the use of personal dictionaries
+       buttons.spellcheck.enablePersonalDictionaries = 1
+
+               ## Configuration of microdata schema
+       schema {
+               sources {
+                       schemaOrg = EXT:rtehtmlarea/extensions/MicrodataSchema/res/schemaOrgAll.rdf
+               }
+       }
+}
+
+       ## Use same processing as on entry to database to clean content pasted into the editor
+RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db
+
+       ## front end RTE configuration
+RTE.default.FE < RTE.default
+RTE.default.FE.FE >
+RTE.default.FE.userElements >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Extensions/InlineElements/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Extensions/InlineElements/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..252b173
--- /dev/null
@@ -0,0 +1,7 @@
+# ***************************************************************************************
+# Additonal proc options in Page TSconfig for Inline Elements extension
+# ***************************************************************************************
+
+       ## DO NOT REMAP BOLD AND ITALIC TO STRONG AND EMPHASIS AND VICE VERSA
+RTE.default.proc.transformBoldAndItalicTags = 0
+RTE.default.FE.proc.transformBoldAndItalicTags = 0
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Image/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Image/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..4b689a6
--- /dev/null
@@ -0,0 +1,25 @@
+# ***************************************************************************************
+# Default Page TSconfig for enabling the use of images in the RTE
+#
+# Sets Page TSConfig for the use of images.
+# Note that all these settings are already included in the "Demo" default configuration
+# However, this will update the "Minimal" and "Typical" default configurations
+# ***************************************************************************************
+
+       ## Default RTE configuration
+RTE.default {
+
+               ## Enable the image button
+       showButtons := addToList(image)
+
+               ## Tags allowed outside p & div
+               ## Adding img tag to the default list
+       proc.allowTagsOutside := addToList(img)
+
+               ## Do not remove img tags
+       proc.entryHTMLparser_db.tags.img >
+}
+
+RTE.default.FE.showButtons < RTE.default.showButtons
+RTE.default.FE.proc.allowTagsOutside < RTE.default.proc.allowTagsOutside
+RTE.default.FE.proc.entryHTMLparser_db.tags.img >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Proc/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Proc/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..1ac7bc3
--- /dev/null
@@ -0,0 +1,152 @@
+# ***************************************************************************************
+# Default proc options in Page TSconfig for htmlArea RTE
+#
+# Sets the proc options for all default configurations.
+#
+# Assumptions: - CSS Styled Content is installed.
+#              - XHTML output is expected.
+#
+# ***************************************************************************************
+
+       ## Default RTE processing rules
+RTE.default.proc {
+
+               ## TRANSFORMATION METHOD
+               ## We assume that CSS Styled Content is used.
+       overruleMode = ts_css
+
+               ## DO NOT CONVERT BR TAGS INTO LINEBREAKS
+               ## br tags in the content are assumed to be intentional.
+       dontConvBRtoParagraph = 1
+
+               ## PRESERVE DIV SECTIONS - DO NOT REMAP TO P
+       preserveDIVSections = 1
+
+               ## TAGS ALLOWED OUTSIDE P & DIV
+       allowTagsOutside = address, article, aside, blockquote, footer, header, hr, nav, section
+
+               ## TAGS ALLOWED
+               ## Added to the default internal list: b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span
+               ## But, for the sake of clarity, we use a complete list in alphabetic order.
+               ## center, font, link, meta, o:p, strike, sdfield, style, title and u will be removed on entry (see below).
+               ## b and i will be remapped on exit (see below).
+               ## Note that the link accessibility feature of htmlArea RTE does insert img tags.
+       allowTags = a, abbr, acronym, address, article, aside, b, bdo, big, blockquote, br, caption, center, cite, code, col, colgroup, dd, del, dfn, dl, div, dt, em, font, footer
+       allowTags := addToList(header, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, label, li, link, meta, nav, ol, p, pre, q, samp, sdfield, section, small)
+       allowTags := addToList(span, strike, strong, style, sub, sup, table, thead, tbody, tfoot, td, th, tr, title, tt, u, ul, var)
+
+               ## TAGS DENIED
+               ## Make sure we can set rules on any tag listed in allowTags.
+       denyTags >
+
+               ## ALLOWED P & DIV ATTRIBUTES
+               ## Attributes class and align are always preserved
+               ## Align attribute will be unset on entry (see below)
+               ## This is a list of additional attributes to keep
+       keepPDIVattribs = id, title, dir, lang, xml:lang, itemscope, itemtype, itemprop
+
+               ## REMAP BOLD AND ITALIC TO STRONG AND EMPHASIS AND VICE VERSA
+       transformBoldAndItalicTags = 1
+
+               ## ALLOW TO WRITE ABOUT HTML
+       dontUndoHSC_db = 1
+       dontHSC_rte = 1
+
+               ## CONTENT TO DATABASE
+       entryHTMLparser_db = 1
+       entryHTMLparser_db {
+
+                       ## TAGS ALLOWED
+                       ## Always use the same list of allowed tags.
+               allowTags < RTE.default.proc.allowTags
+
+                       ## TAGS DENIED
+                       ## Make sure we can set rules on any tag listed in allowTags.
+               denyTags >
+
+                       ## AVOID CONTENT BEING HSC'ed TWICE
+               htmlSpecialChars = 0
+
+               tags {
+
+                               ## REMOVE IMG TAGS
+                       img.allowedAttribs = 0
+                       img.rmTagIfNoAttrib = 1
+
+                               ## CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
+                       span.fixAttrib.style.unset = 1
+                       span.allowedAttribs = id, title, dir, lang, xml:lang, class, itemscope, itemtype, itemprop
+                       span.rmTagIfNoAttrib = 1
+                       p {
+                               allowedAttribs = id, title, dir, lang, xml:lang, class, itemscope, itemtype, itemprop
+                               fixAttrib.align.unset = 1
+                       }
+                       div < .p
+                       hr.allowedAttribs = class
+                       b.allowedAttribs < .span.allowedAttribs
+                       bdo.allowedAttribs < .span.allowedAttribs
+                       big.allowedAttribs < .span.allowedAttribs
+                       blockquote.allowedAttribs < .span.allowedAttribs
+                       cite.allowedAttribs < .span.allowedAttribs
+                       code.allowedAttribs < .span.allowedAttribs
+                       del.allowedAttribs < .span.allowedAttribs
+                       dfn.allowedAttribs < .span.allowedAttribs
+                       em.allowedAttribs < .span.allowedAttribs
+                       i.allowedAttribs < .span.allowedAttribs
+                       ins.allowedAttribs < .span.allowedAttribs
+                       kbd.allowedAttribs < .span.allowedAttribs
+                       label.allowedAttribs < .span.allowedAttribs
+                       q.allowedAttribs < .span.allowedAttribs
+                       samp.allowedAttribs < .span.allowedAttribs
+                       small.allowedAttribs < .span.allowedAttribs
+                       strike.allowedAttribs < .span.allowedAttribs
+                       strong.allowedAttribs < .span.allowedAttribs
+                       sub.allowedAttribs < .span.allowedAttribs
+                       sup.allowedAttribs < .span.allowedAttribs
+                       tt.allowedAttribs < .span.allowedAttribs
+                       u.allowedAttribs < .span.allowedAttribs
+                       var.allowedAttribs < .span.allowedAttribs
+               }
+
+                       ## 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 = center, font, link, meta, o:p, sdfield, strike, style, title, u
+
+                       ## PROTECT CUSTOM TAGS
+               keepNonMatchedTags = protect
+       }
+
+       HTMLparser_db {
+                       ## STRIP ALL ATTRIBUTES FROM THESE TAGS
+                       ## If this list of tags is not set, it will default to: b,i,u,br,center,hr,sub,sup,strong,em,li,ul,ol,blockquote,strike.
+                       ## However, we want to keep xml:lang attribute on most tags and tags from the default list where cleaned on entry.
+               noAttrib = br
+
+                       ## XHTML COMPLIANCE
+                       ## Note that applying xhtml_cleaning on exit would break non-standard attributes of typolink tags
+               xhtml_cleaning = 1
+       }
+
+       exitHTMLparser_db = 1
+       exitHTMLparser_db {
+                       ## KEEP ALL TAGS
+                       ## Unwanted tags were removed on entry.
+                       ## Without this rule, the parser will remove all tags! Presumably, this rule will be more efficient than repeating the allowTags rule
+               keepNonMatchedTags = 1
+
+                       ## AVOID CONTENT BEING HSC'ed TWICE
+               htmlSpecialChars = 0
+       }
+}
+
+       ## Use same RTE processing rules in FE
+RTE.default.FE.proc < RTE.default.proc
+
+       ## RTE processing rules for bodytext column of tt_content table
+       ## Erase settings from other extensions
+RTE.config.tt_content.bodytext >
+
+       ## Make sure we use ts_css transformation
+RTE.config.tt_content.bodytext.proc.overruleMode = ts_css
+RTE.config.tt_content.bodytext.types.text.proc.overruleMode = ts_css
+RTE.config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_css
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Style/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Style/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..a5ee2c1
--- /dev/null
@@ -0,0 +1,48 @@
+# ***************************************************************************************
+# Default proc options in Page TSconfig for htmlArea RTE formatting with style attribute
+# ***************************************************************************************
+
+       ## Default RTE processing rules
+RTE.default.proc {
+
+               ## ALLOWED P & DIV ATTRIBUTES
+       keepPDIVattribs := addToList(style)
+
+               ## CONTENT TO DATABASE
+       entryHTMLparser_db {
+               tags {
+                               ## CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
+                       span.fixAttrib.style.unset >
+                       span.allowedAttribs := addToList(style)
+                       p.allowedAttribs := addToList(style)
+                       div < .p
+                       hr.allowedAttribs := addToList(style)
+                       b.allowedAttribs := addToList(style)
+                       bdo.allowedAttribs := addToList(style)
+                       big.allowedAttribs := addToList(style)
+                       blockquote.allowedAttribs := addToList(style)
+                       cite.allowedAttribs := addToList(style)
+                       code.allowedAttribs := addToList(style)
+                       del.allowedAttribs := addToList(style)
+                       dfn.allowedAttribs := addToList(style)
+                       em.allowedAttribs := addToList(style)
+                       i.allowedAttribs := addToList(style)
+                       ins.allowedAttribs := addToList(style)
+                       kbd.allowedAttribs := addToList(style)
+                       label.allowedAttribs := addToList(style)
+                       q.allowedAttribs := addToList(style)
+                       samp.allowedAttribs := addToList(style)
+                       small.allowedAttribs := addToList(style)
+                       strike.allowedAttribs := addToList(style)
+                       strong.allowedAttribs := addToList(style)
+                       sub.allowedAttribs := addToList(style)
+                       sup.allowedAttribs := addToList(style)
+                       tt.allowedAttribs := addToList(style)
+                       u.allowedAttribs := addToList(style)
+                       var.allowedAttribs := addToList(style)
+               }
+       }
+}
+
+       ## Use same RTE processing rules in FE
+RTE.default.FE.proc < RTE.default.proc
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Typical/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTSconfig/Typical/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..7fe85c9
--- /dev/null
@@ -0,0 +1,176 @@
+# ***************************************************************************************
+# "Typical" Page TSconfig for htmlArea RTE and Classic RTE
+#
+# Sets Page TSConfig with most commonly used features representing a good start for typical sites.
+# ***************************************************************************************
+
+       ## Define labels and styles to be applied to class selectors in the interface of the RTE
+       ## The examples included here make partial re-use of color scheme and frame scheme from CSS Styled Content extension
+RTE.classes {
+       align-left {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifyleft
+               value = text-align: left;
+       }
+       align-center {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifycenter
+               value = text-align: center;
+       }
+       align-right {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_tooltips.xlf:justifyright
+               value = text-align: right;
+       }
+       csc-frame-frame1 {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:frame-frame1
+               value = background-color: #EDEBF1; border: 1px solid #333333;
+       }
+       csc-frame-frame2 {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:frame-frame2
+               value = background-color: #F5FFAA; border: 1px solid #333333;
+       }
+       important {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:important
+               value = color: #8A0020;
+       }
+       name-of-person {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:name-of-person
+               value = color: #10007B;
+       }
+       detail {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:detail
+               value = color: #186900;
+       }
+       component-items {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:component-items
+               value = color: #186900;
+       }
+       action-items {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:action-items
+               value = color: #8A0020;
+       }
+       component-items-ordered {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:component-items
+               value = color: #186900;
+       }
+       action-items-ordered {
+               name = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_contentcss.xlf:action-items
+               value = color: #8A0020;
+       }
+}
+
+       ## Anchor classes configuration for use by the anchor accesibility feature
+RTE.classesAnchor {
+       externalLink {
+               class = external-link
+               type = url
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_titleText
+       }
+       externalLinkInNewWindow {
+               class = external-link-new-window
+               type = url
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:external_link_new_window_titleText
+       }
+       internalLink {
+               class = internal-link
+               type = page
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_titleText
+       }
+       internalLinkInNewWindow {
+               class = internal-link-new-window
+               type = page
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:internal_link_new_window_titleText
+       }
+       download {
+               class = download
+               type = file
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:download_titleText
+       }
+       mail {
+               class = mail
+               type = mail
+               titleText = LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_accessibilityicons.xlf:mail_titleText
+       }
+}
+
+       ## Default RTE configuration
+RTE.default {
+
+               ## Markup options
+       enableWordClean = 1
+       removeTrailingBR = 1
+       removeComments = 1
+       removeTags = center, font, o:p, sdfield, strike, u
+       removeTagsAndContents = link, meta, script, style, title
+
+               ## Toolbar options
+               ## The TCA configuration may add buttons to the toolbar
+       showButtons = blockstylelabel, blockstyle, textstylelabel, textstyle
+       showButtons := addToList(formatblock, bold, italic, subscript, superscript)
+       showButtons := addToList(orderedlist, unorderedlist, outdent, indent, textindicator)
+       showButtons := addToList(insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about)
+       showButtons := addToList(toggleborders, tableproperties)
+       showButtons := addToList(rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit)
+       showButtons := addToList(columninsertbefore, columninsertafter, columndelete, columnsplit)
+       showButtons := addToList(cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge)
+
+               ## More toolbar options
+       keepButtonGroupTogether = 1
+
+               ## Enable status bar
+       showStatusBar =  1
+
+               ## Hide infrequently used block types in the block formatting selector
+       buttons.formatblock.removeItems = pre,address
+
+               ## List all class selectors that are allowed on the way to the database
+       proc.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
+       proc.allowedClasses := addToList(align-left, align-center, align-right, align-justify)
+       proc.allowedClasses := addToList(csc-frame-frame1, csc-frame-frame2)
+       proc.allowedClasses := addToList(component-items, action-items)
+       proc.allowedClasses := addToList(component-items-ordered, action-items-ordered)
+       proc.allowedClasses := addToList(important, name-of-person, detail)
+       proc.allowedClasses := addToList(indent)
+
+               ## Restrict the list of class selectors presented by the RTE to the following for the specified tags:
+       buttons.blockstyle.tags.div.allowedClasses = align-left, align-center, align-right
+       buttons.blockstyle.tags.div.allowedClasses := addToList(csc-frame-frame1, csc-frame-frame2)
+       buttons.blockstyle.tags.table.allowedClasses = csc-frame-frame1, csc-frame-frame2
+       buttons.blockstyle.tags.td.allowedClasses = align-left, align-center, align-right
+       buttons.textstyle.tags.span.allowedClasses = important, name-of-person, detail
+
+               ## Configuration of links
+               ## These classes should also be in the list proc.allowedClasses
+       buttons.link.properties.class.allowedClasses = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
+       buttons.link.page.properties.class.default = internal-link
+       buttons.link.url.properties.class.default = external-link-new-window
+       buttons.link.file.properties.class.default = download
+       buttons.link.mail.properties.class.default = mail
+
+               ## Configuration specific to the TableOperations feature
+               ## Remove the following fieldsets from the table operations dialogs
+       disableAlignmentFieldsetInTableOperations = 1
+       disableSpacingFieldsetInTableOperations = 1
+       disableColorFieldsetInTableOperations = 1
+       disableLayoutFieldsetInTableOperations = 1
+       disableBordersFieldsetInTableOperations = 1
+               ## Show borders on table creation
+       buttons.toggleborders.setOnTableCreation = 1
+
+               ## Configuration specific to the bold and italic buttons
+               ## Add hotkeys associated with bold and italic buttons
+       buttons.bold.hotKey = b
+       buttons.italic.hotKey = i
+
+               ## Configuration of microdata schema
+       schema {
+               sources {
+                       schemaOrg = EXT:rtehtmlarea/extensions/MicrodataSchema/res/schemaOrgAll.rdf
+               }
+       }
+}
+
+       ## front end RTE configuration for the general public
+RTE.default.FE < RTE.default
+RTE.default.FE.showStatusBar = 0
+RTE.default.FE.hideButtons = chMode, blockstyle, textstyle, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, table, inserttag, findreplace, removeformat, copy, cut, paste
+RTE.default.FE.FE >
+RTE.default.FE.userElements >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/UserTS/Advanced/userTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/UserTS/Advanced/userTSConfig.txt
deleted file mode 100644 (file)
index ece994f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# ***************************************************************************************
-# "Advanced" User TSconfig for htmlArea RTE
-#
-# Sets default User TSConfig with minimal features for advanced admin users.
-# ***************************************************************************************
-
-       ## Enable the RTE by default for all users
-setup.default.edit_RTE = 1
diff --git a/typo3/sysext/rtehtmlarea/Configuration/UserTS/Demo/userTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/UserTS/Demo/userTSConfig.txt
deleted file mode 100644 (file)
index 36568ac..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# ***************************************************************************************
-# "Demo" User TSconfig for htmlArea RTE
-#
-# Sets default User TSConfig with maximal features for users who want to explore the features of the RTE.
-# ***************************************************************************************
-
-       ## Enable the RTE by default for all users
-setup.default.edit_RTE = 1
-
-       ## Enable the file upload feature of the element browser by default for all users
-options.uploadFieldsInTopOfEB = 1
-
-       ## Set the default spelling ability of the check speller for all users
-options.HTMLAreaPspellMode = bad-spellers
-
-       ## Enable the personal dictionary feature of the check speller by default for all users
-options.enablePersonalDicts = 1
diff --git a/typo3/sysext/rtehtmlarea/Configuration/UserTS/Typical/userTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/UserTS/Typical/userTSConfig.txt
deleted file mode 100644 (file)
index b40b058..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# ***************************************************************************************
-# "Typical" User TSconfig for htmlArea RTE
-#
-# Sets User TSConfig with most commonly used features representing a good start for typical sites.
-# ***************************************************************************************
-## Default User TSConfig for the Usual default RTE configuration
-
-       ## Enable the RTE by default for all users
-setup.default.edit_RTE = 1
diff --git a/typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Advanced/userTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Advanced/userTSConfig.txt
new file mode 100644 (file)
index 0000000..ece994f
--- /dev/null
@@ -0,0 +1,8 @@
+# ***************************************************************************************
+# "Advanced" User TSconfig for htmlArea RTE
+#
+# Sets default User TSConfig with minimal features for advanced admin users.
+# ***************************************************************************************
+
+       ## Enable the RTE by default for all users
+setup.default.edit_RTE = 1
diff --git a/typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Demo/userTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Demo/userTSConfig.txt
new file mode 100644 (file)
index 0000000..36568ac
--- /dev/null
@@ -0,0 +1,17 @@
+# ***************************************************************************************
+# "Demo" User TSconfig for htmlArea RTE
+#
+# Sets default User TSConfig with maximal features for users who want to explore the features of the RTE.
+# ***************************************************************************************
+
+       ## Enable the RTE by default for all users
+setup.default.edit_RTE = 1
+
+       ## Enable the file upload feature of the element browser by default for all users
+options.uploadFieldsInTopOfEB = 1
+
+       ## Set the default spelling ability of the check speller for all users
+options.HTMLAreaPspellMode = bad-spellers
+
+       ## Enable the personal dictionary feature of the check speller by default for all users
+options.enablePersonalDicts = 1
diff --git a/typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Typical/userTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/UserTSconfig/Typical/userTSConfig.txt
new file mode 100644 (file)
index 0000000..b40b058
--- /dev/null
@@ -0,0 +1,9 @@
+# ***************************************************************************************
+# "Typical" User TSconfig for htmlArea RTE
+#
+# Sets User TSConfig with most commonly used features representing a good start for typical sites.
+# ***************************************************************************************
+## Default User TSConfig for the Usual default RTE configuration
+
+       ## Enable the RTE by default for all users
+setup.default.edit_RTE = 1
index d0c75cd..af152fd 100644 (file)
@@ -16,7 +16,7 @@ $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['version'] = $EM_CONF['rte
 $_EXTCONF = unserialize($_EXTCONF);
 
 // Add default RTE transformation configuration
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTS/Proc/pageTSConfig.txt">');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/Proc/pageTSConfig.txt">');
 
 // Add default Page TS Config RTE configuration
 if (strstr($_EXTCONF['defaultConfiguration'], 'Minimal')) {
@@ -27,9 +27,9 @@ if (strstr($_EXTCONF['defaultConfiguration'], 'Minimal')) {
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['defaultConfiguration'] = 'Typical';
 }
 
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTS/' . $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['defaultConfiguration'] . '/pageTSConfig.txt">');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/' . $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['defaultConfiguration'] . '/pageTSConfig.txt">');
 // Add default User TS Config RTE configuration
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/UserTS/' . $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['defaultConfiguration'] . '/userTSConfig.txt">');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/UserTSconfig/' . $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['defaultConfiguration'] . '/userTSConfig.txt">');
 
 // Registering soft reference parser for image tags in RTE content
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['softRefParser']['rtehtmlarea_images'] = \TYPO3\CMS\Rtehtmlarea\Hook\SoftReferenceHook::class;
@@ -69,7 +69,7 @@ $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['DefaultInline'
 if ($_EXTCONF['enableInlineElements']) {
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['InlineElements'] = array();
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['InlineElements']['objectReference'] = \TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::class;
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTS/Extensions/InlineElements/pageTSConfig.txt">');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/Extensions/InlineElements/pageTSConfig.txt">');
 }
 
 // Block Elements configuration
@@ -110,7 +110,7 @@ if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['enableImages']) {
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['TYPO3Image']['disableInFE'] = 1;
 
        if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['defaultConfiguration'] == 'Advanced' || $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['defaultConfiguration'] == 'Typical') {
-               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTS/Image/pageTSConfig.txt">');
+               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/Image/pageTSConfig.txt">');
        }
 }
 // Add frontend image rendering TypoScript anyways
@@ -127,7 +127,7 @@ $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['TYPO3Link']['a
 // Add default Page TS Config RTE configuration for enabling links accessibility icons
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['enableAccessibilityIcons'] = $_EXTCONF['enableAccessibilityIcons'] ?: 0;
 if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['enableAccessibilityIcons']) {
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTS/AccessibilityIcons/pageTSConfig.txt">');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/AccessibilityIcons/pageTSConfig.txt">');
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript('rtehtmlarea', 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/res/accessibilityicons/setup.txt">', 'defaultContentRendering');
 }
 
@@ -141,7 +141,7 @@ if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['allowStyleAttribute']
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['SelectFont'] = array();
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['SelectFont']['objectReference'] = \TYPO3\CMS\Rtehtmlarea\Extension\SelectFont::class;
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['SelectFont']['disableInFE'] = 0;
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTS/Style/pageTSConfig.txt">');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/Style/pageTSConfig.txt">');
 }
 
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['TextIndicator'] = array();