[TASK] RTE: Move page/user TSconfig files to Configuration directory 56/33856/2
authorStanislas Rolland <typo3@sjbr.ca>
Thu, 6 Nov 2014 18:16:43 +0000 (13:16 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Thu, 6 Nov 2014 18:19:08 +0000 (19:19 +0100)
Releases: master
Resolves: #62748
Change-Id: I35cc1e76a92a7ae863e017e1d7877385be9ee7e6
Reviewed-on: http://review.typo3.org/33856
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
23 files changed:
typo3/sysext/rtehtmlarea/Configuration/PageTS/AccessibilityIcons/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Advanced/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Demo/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Extensions/InlineElements/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Image/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Proc/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Style/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/PageTS/Typical/pageTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/UserTS/Advanced/userTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/UserTS/Demo/userTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/UserTS/Typical/userTSConfig.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/ext_localconf.php
typo3/sysext/rtehtmlarea/extensions/InlineElements/res/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/accessibilityicons/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/advanced/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/advanced/userTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/demo/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/demo/userTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/image/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/proc/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/style/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/typical/pageTSConfig.txt [deleted file]
typo3/sysext/rtehtmlarea/res/typical/userTSConfig.txt [deleted file]

diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/AccessibilityIcons/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/AccessibilityIcons/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..3186796
--- /dev/null
@@ -0,0 +1,34 @@
+# ***************************************************************************************
+# 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/res/accessibilityicons/img/external_link.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_altText
+       }
+       externalLinkInNewWindow {
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/external_link_new_window.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_altText
+       }
+       internalLink {
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_altText
+       }
+       internalLinkInNewWindow {
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link_new_window.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_altText
+       }
+       download {
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/download.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_altText
+       }
+       mail {
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/mail.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_altText
+       }
+}
+
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Advanced/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Advanced/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..78b97db
--- /dev/null
@@ -0,0 +1,19 @@
+# ***************************************************************************************
+# "Advanced" Page TSconfig for htmlArea RTE
+#
+# Sets default Page TSConfig with minimal features for advanced users.
+#
+# @author      Stanislas Rolland <typo3(arobas)sjbr.ca>
+# ***************************************************************************************
+
+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
new file mode 100644 (file)
index 0000000..6863409
--- /dev/null
@@ -0,0 +1,206 @@
+# ***************************************************************************************
+# "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/htmlarea/locallang_tooltips.xlf:justifyleft
+               value = text-align: left;
+       }
+       align-center {
+               name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifycenter
+               value = text-align: center;
+       }
+       align-right {
+               name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyright
+               value = text-align: right;
+       }
+       csc-frame-frame1 {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame1
+               value = background-color: #EDEBF1; border: 1px solid #333333;
+       }
+       csc-frame-frame2 {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame2
+               value = background-color: #F5FFAA; border: 1px solid #333333;
+       }
+       important {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:important
+               value = color: #8A0020;
+       }
+       name-of-person {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:name-of-person
+               value = color: #10007B;
+       }
+       detail {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:detail
+               value = color: #186900;
+       }
+       component-items {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
+               value = color: #186900;
+       }
+       action-items {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
+               value = color: #8A0020;
+       }
+       component-items-ordered {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
+               value = color: #186900;
+       }
+       action-items-ordered {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.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/res/accessibilityicons/img/external_link.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_altText
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_titleText
+       }
+       externalLinkInNewWindow {
+               class = external-link-new-window
+               type = url
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/external_link_new_window.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_altText
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_titleText
+       }
+       internalLink {
+               class = internal-link
+               type = page
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_altText
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_titleText
+       }
+       internalLinkInNewWindow {
+               class = internal-link-new-window
+               type = page
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link_new_window.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_altText
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_titleText
+       }
+       download {
+               class = download
+               type = file
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/download.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_altText
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_titleText
+       }
+       mail {
+               class = mail
+               type = mail
+               image = EXT:rtehtmlarea/res/accessibilityicons/img/mail.gif
+               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_altText
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.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,
+               align-left, align-center, align-right, align-justify,
+               csc-frame-frame1, csc-frame-frame2,
+               component-items, action-items,
+               component-items-ordered, action-items-ordered,
+               important, name-of-person, detail,
+               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,
+               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 >
+RTE.default.FE.userLinks >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/PageTS/Extensions/InlineElements/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Extensions/InlineElements/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..52d5e10
--- /dev/null
@@ -0,0 +1,9 @@
+# ***************************************************************************************
+# Additonal proc options in Page TSconfig for Inline Elements extension
+#
+# @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
+# ***************************************************************************************
+
+       ## 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
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/PageTS/Proc/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/PageTS/Proc/pageTSConfig.txt
new file mode 100644 (file)
index 0000000..5a44ce1
--- /dev/null
@@ -0,0 +1,160 @@
+# ***************************************************************************************
+# Default proc options in Page TSconfig for htmlArea RTE and Classic RTE
+#
+# Sets the proc options for all default configurations.
+#
+# Assumptions: - CSS Styled Content is installed.
+#              - XHTML output is expected.
+#
+# For documentation of RTE tranformations, see: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/5/2/
+# For documentation of Page TSConfig configuration of RTE processing, see: http://typo3.org/documentation/document-library/doc_core_api/Page_TSconfig/
+# For documentation of the HTMLparser, see: http://typo3.org/documentation/document-library/doc_core_tsref/HTMLparser/
+# For documentation of RTE settings in TCA, see: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/3/#id3665895
+#
+# @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
+# ***************************************************************************************
+
+       ## 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,
+               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,
+               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
new file mode 100644 (file)
index 0000000..c40b382
--- /dev/null
@@ -0,0 +1,50 @@
+# ***************************************************************************************
+# Default proc options in Page TSconfig for htmlArea RTE formatting with style attribute
+#
+# @author      Stanislas Rolland <typo3(arobas)sjbr.ca>
+# ***************************************************************************************
+
+       ## 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 = id, title, dir, lang, xml:lang, class, 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
new file mode 100644 (file)
index 0000000..e877608
--- /dev/null
@@ -0,0 +1,185 @@
+# ***************************************************************************************
+# "Typical" Page TSconfig for htmlArea RTE and Classic RTE
+#
+# Sets Page TSConfig with most commonly used features representing a good start for typical sites.
+#
+# @author      Stanislas Rolland <typo3(arobas)sjbr.ca>
+# ***************************************************************************************
+
+       ## 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/htmlarea/locallang_tooltips.xlf:justifyleft
+               value = text-align: left;
+       }
+       align-center {
+               name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifycenter
+               value = text-align: center;
+       }
+       align-right {
+               name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyright
+               value = text-align: right;
+       }
+       csc-frame-frame1 {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame1
+               value = background-color: #EDEBF1; border: 1px solid #333333;
+       }
+       csc-frame-frame2 {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame2
+               value = background-color: #F5FFAA; border: 1px solid #333333;
+       }
+       important {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:important
+               value = color: #8A0020;
+       }
+       name-of-person {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:name-of-person
+               value = color: #10007B;
+       }
+       detail {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:detail
+               value = color: #186900;
+       }
+       component-items {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
+               value = color: #186900;
+       }
+       action-items {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
+               value = color: #8A0020;
+       }
+       component-items-ordered {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
+               value = color: #186900;
+       }
+       action-items-ordered {
+               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.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/res/accessibilityicons/locallang.xlf:external_link_titleText
+       }
+       externalLinkInNewWindow {
+               class = external-link-new-window
+               type = url
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_titleText
+       }
+       internalLink {
+               class = internal-link
+               type = page
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_titleText
+       }
+       internalLinkInNewWindow {
+               class = internal-link-new-window
+               type = page
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_titleText
+       }
+       download {
+               class = download
+               type = file
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_titleText
+       }
+       mail {
+               class = mail
+               type = mail
+               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.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,
+               formatblock, bold, italic, subscript, superscript,
+               orderedlist, unorderedlist, outdent, indent, textindicator,
+               insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about,
+               toggleborders, tableproperties,
+               rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
+               columninsertbefore, columninsertafter, columndelete, columnsplit,
+               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,
+               align-left, align-center, align-right, align-justify,
+               csc-frame-frame1, csc-frame-frame2,
+               component-items, action-items,
+               component-items-ordered, action-items-ordered,
+               important, name-of-person, detail,
+               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,
+               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 >
+RTE.default.FE.userLinks >
diff --git a/typo3/sysext/rtehtmlarea/Configuration/UserTS/Advanced/userTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/UserTS/Advanced/userTSConfig.txt
new file mode 100644 (file)
index 0000000..95e4641
--- /dev/null
@@ -0,0 +1,10 @@
+# ***************************************************************************************
+# "Advanced" User TSconfig for htmlArea RTE
+#
+# Sets default User TSConfig with minimal features for advanced admin users.
+#
+# @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
+# ***************************************************************************************
+
+       ## 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
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/UserTS/Typical/userTSConfig.txt b/typo3/sysext/rtehtmlarea/Configuration/UserTS/Typical/userTSConfig.txt
new file mode 100644 (file)
index 0000000..730b2ec
--- /dev/null
@@ -0,0 +1,11 @@
+# ***************************************************************************************
+# "Typical" User TSconfig for htmlArea RTE
+#
+# Sets User TSConfig with most commonly used features representing a good start for typical sites.
+#
+# @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
+# ***************************************************************************************
+## Default User TSConfig for the Usual default RTE configuration
+
+       ## Enable the RTE by default for all users
+setup.default.edit_RTE = 1
index debf09b..307c98c 100644 (file)
@@ -16,7 +16,7 @@ $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['version'] = $EM_CONF[$_EXTKEY]['version']
 $_EXTCONF = unserialize($_EXTCONF);
 
 // Add default RTE transformation configuration
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/proc/pageTSConfig.txt">');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/Proc/pageTSConfig.txt">');
 
 // Add default Page TS Config RTE configuration
 if (strstr($_EXTCONF['defaultConfiguration'], 'Minimal')) {
@@ -27,9 +27,9 @@ if (strstr($_EXTCONF['defaultConfiguration'], 'Minimal')) {
        $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['defaultConfiguration'] = 'Typical';
 }
 
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/' . strtolower($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['defaultConfiguration']) . '/pageTSConfig.txt">');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/' . $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['defaultConfiguration'] . '/pageTSConfig.txt">');
 // Add default User TS Config RTE configuration
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/' . strtolower($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['defaultConfiguration']) . '/userTSConfig.txt">');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/UserTS/' . $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['defaultConfiguration'] . '/userTSConfig.txt">');
 
 // Add processing of soft references on image tags in RTE content
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'hooks/softref/ext_localconf.php';
@@ -66,7 +66,7 @@ $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['DefaultInline']['addIconsToSki
 if ($_EXTCONF['enableInlineElements']) {
        $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['InlineElements'] = array();
        $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['InlineElements']['objectReference'] = '&TYPO3\\CMS\\Rtehtmlarea\\Extension\\InlineElements';
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/extensions/InlineElements/res/pageTSConfig.txt">');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/Extensions/InlineElements/pageTSConfig.txt">');
 }
 
 // Block Elements configuration
@@ -115,7 +115,7 @@ if ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableImages']) {
        $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['TYPO3Image']['disableInFE'] = 1;
 
        if ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['defaultConfiguration'] == 'Advanced' || $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['defaultConfiguration'] == 'Typical') {
-               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/image/pageTSConfig.txt">');
+               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/Image/pageTSConfig.txt">');
        }
 }
 // Add frontend image rendering TypoScript anyways
@@ -134,7 +134,7 @@ $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['TYPO3Link']['additionalAttribu
 // Add default Page TS Config RTE configuration for enabling links accessibility icons
 $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableAccessibilityIcons'] = $_EXTCONF['enableAccessibilityIcons'] ?: 0;
 if ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableAccessibilityIcons']) {
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/accessibilityicons/pageTSConfig.txt">');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/AccessibilityIcons/pageTSConfig.txt">');
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/accessibilityicons/setup.txt">', 43);
 }
 
@@ -150,7 +150,7 @@ if ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['allowStyleAttribute']) {
        $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['SelectFont']['objectReference'] = '&TYPO3\\CMS\\Rtehtmlarea\\Extension\\SelectFont';
        $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['SelectFont']['addIconsToSkin'] = 0;
        $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['SelectFont']['disableInFE'] = 0;
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/style/pageTSConfig.txt">');
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/Style/pageTSConfig.txt">');
 }
 
 $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['TextIndicator'] = array();
diff --git a/typo3/sysext/rtehtmlarea/extensions/InlineElements/res/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/extensions/InlineElements/res/pageTSConfig.txt
deleted file mode 100644 (file)
index 52d5e10..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# ***************************************************************************************
-# Additonal proc options in Page TSconfig for Inline Elements extension
-#
-# @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
-# ***************************************************************************************
-
-       ## 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/res/accessibilityicons/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/res/accessibilityicons/pageTSConfig.txt
deleted file mode 100644 (file)
index 3186796..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/res/accessibilityicons/img/external_link.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_altText
-       }
-       externalLinkInNewWindow {
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/external_link_new_window.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_altText
-       }
-       internalLink {
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_altText
-       }
-       internalLinkInNewWindow {
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link_new_window.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_altText
-       }
-       download {
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/download.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_altText
-       }
-       mail {
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/mail.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_altText
-       }
-}
-
diff --git a/typo3/sysext/rtehtmlarea/res/advanced/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/res/advanced/pageTSConfig.txt
deleted file mode 100644 (file)
index 78b97db..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-# ***************************************************************************************
-# "Advanced" Page TSconfig for htmlArea RTE
-#
-# Sets default Page TSConfig with minimal features for advanced users.
-#
-# @author      Stanislas Rolland <typo3(arobas)sjbr.ca>
-# ***************************************************************************************
-
-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/res/advanced/userTSConfig.txt b/typo3/sysext/rtehtmlarea/res/advanced/userTSConfig.txt
deleted file mode 100644 (file)
index 95e4641..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# ***************************************************************************************
-# "Advanced" User TSconfig for htmlArea RTE
-#
-# Sets default User TSConfig with minimal features for advanced admin users.
-#
-# @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
-# ***************************************************************************************
-
-       ## Enable the RTE by default for all users
-setup.default.edit_RTE = 1
diff --git a/typo3/sysext/rtehtmlarea/res/demo/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/res/demo/pageTSConfig.txt
deleted file mode 100644 (file)
index 6863409..0000000
+++ /dev/null
@@ -1,206 +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/htmlarea/locallang_tooltips.xlf:justifyleft
-               value = text-align: left;
-       }
-       align-center {
-               name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifycenter
-               value = text-align: center;
-       }
-       align-right {
-               name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyright
-               value = text-align: right;
-       }
-       csc-frame-frame1 {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame1
-               value = background-color: #EDEBF1; border: 1px solid #333333;
-       }
-       csc-frame-frame2 {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame2
-               value = background-color: #F5FFAA; border: 1px solid #333333;
-       }
-       important {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:important
-               value = color: #8A0020;
-       }
-       name-of-person {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:name-of-person
-               value = color: #10007B;
-       }
-       detail {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:detail
-               value = color: #186900;
-       }
-       component-items {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
-               value = color: #186900;
-       }
-       action-items {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
-               value = color: #8A0020;
-       }
-       component-items-ordered {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
-               value = color: #186900;
-       }
-       action-items-ordered {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.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/res/accessibilityicons/img/external_link.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_altText
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_titleText
-       }
-       externalLinkInNewWindow {
-               class = external-link-new-window
-               type = url
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/external_link_new_window.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_altText
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_titleText
-       }
-       internalLink {
-               class = internal-link
-               type = page
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_altText
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_titleText
-       }
-       internalLinkInNewWindow {
-               class = internal-link-new-window
-               type = page
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link_new_window.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_altText
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_titleText
-       }
-       download {
-               class = download
-               type = file
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/download.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_altText
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_titleText
-       }
-       mail {
-               class = mail
-               type = mail
-               image = EXT:rtehtmlarea/res/accessibilityicons/img/mail.gif
-               altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_altText
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.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,
-               align-left, align-center, align-right, align-justify,
-               csc-frame-frame1, csc-frame-frame2,
-               component-items, action-items,
-               component-items-ordered, action-items-ordered,
-               important, name-of-person, detail,
-               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,
-               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 >
-RTE.default.FE.userLinks >
diff --git a/typo3/sysext/rtehtmlarea/res/demo/userTSConfig.txt b/typo3/sysext/rtehtmlarea/res/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/res/image/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/res/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/res/proc/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/res/proc/pageTSConfig.txt
deleted file mode 100644 (file)
index 5a44ce1..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-# ***************************************************************************************
-# Default proc options in Page TSconfig for htmlArea RTE and Classic RTE
-#
-# Sets the proc options for all default configurations.
-#
-# Assumptions: - CSS Styled Content is installed.
-#              - XHTML output is expected.
-#
-# For documentation of RTE tranformations, see: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/5/2/
-# For documentation of Page TSConfig configuration of RTE processing, see: http://typo3.org/documentation/document-library/doc_core_api/Page_TSconfig/
-# For documentation of the HTMLparser, see: http://typo3.org/documentation/document-library/doc_core_tsref/HTMLparser/
-# For documentation of RTE settings in TCA, see: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/3/#id3665895
-#
-# @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
-# ***************************************************************************************
-
-       ## 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,
-               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,
-               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/res/style/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/res/style/pageTSConfig.txt
deleted file mode 100644 (file)
index c40b382..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-# ***************************************************************************************
-# Default proc options in Page TSconfig for htmlArea RTE formatting with style attribute
-#
-# @author      Stanislas Rolland <typo3(arobas)sjbr.ca>
-# ***************************************************************************************
-
-       ## 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 = id, title, dir, lang, xml:lang, class, 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/res/typical/pageTSConfig.txt b/typo3/sysext/rtehtmlarea/res/typical/pageTSConfig.txt
deleted file mode 100644 (file)
index e877608..0000000
+++ /dev/null
@@ -1,185 +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.
-#
-# @author      Stanislas Rolland <typo3(arobas)sjbr.ca>
-# ***************************************************************************************
-
-       ## 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/htmlarea/locallang_tooltips.xlf:justifyleft
-               value = text-align: left;
-       }
-       align-center {
-               name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifycenter
-               value = text-align: center;
-       }
-       align-right {
-               name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyright
-               value = text-align: right;
-       }
-       csc-frame-frame1 {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame1
-               value = background-color: #EDEBF1; border: 1px solid #333333;
-       }
-       csc-frame-frame2 {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame2
-               value = background-color: #F5FFAA; border: 1px solid #333333;
-       }
-       important {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:important
-               value = color: #8A0020;
-       }
-       name-of-person {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:name-of-person
-               value = color: #10007B;
-       }
-       detail {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:detail
-               value = color: #186900;
-       }
-       component-items {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
-               value = color: #186900;
-       }
-       action-items {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
-               value = color: #8A0020;
-       }
-       component-items-ordered {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
-               value = color: #186900;
-       }
-       action-items-ordered {
-               name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.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/res/accessibilityicons/locallang.xlf:external_link_titleText
-       }
-       externalLinkInNewWindow {
-               class = external-link-new-window
-               type = url
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_titleText
-       }
-       internalLink {
-               class = internal-link
-               type = page
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_titleText
-       }
-       internalLinkInNewWindow {
-               class = internal-link-new-window
-               type = page
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_titleText
-       }
-       download {
-               class = download
-               type = file
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_titleText
-       }
-       mail {
-               class = mail
-               type = mail
-               titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.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,
-               formatblock, bold, italic, subscript, superscript,
-               orderedlist, unorderedlist, outdent, indent, textindicator,
-               insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about,
-               toggleborders, tableproperties,
-               rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
-               columninsertbefore, columninsertafter, columndelete, columnsplit,
-               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,
-               align-left, align-center, align-right, align-justify,
-               csc-frame-frame1, csc-frame-frame2,
-               component-items, action-items,
-               component-items-ordered, action-items-ordered,
-               important, name-of-person, detail,
-               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,
-               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 >
-RTE.default.FE.userLinks >
diff --git a/typo3/sysext/rtehtmlarea/res/typical/userTSConfig.txt b/typo3/sysext/rtehtmlarea/res/typical/userTSConfig.txt
deleted file mode 100644 (file)
index 730b2ec..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# ***************************************************************************************
-# "Typical" User TSconfig for htmlArea RTE
-#
-# Sets User TSConfig with most commonly used features representing a good start for typical sites.
-#
-# @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
-# ***************************************************************************************
-## Default User TSConfig for the Usual default RTE configuration
-
-       ## Enable the RTE by default for all users
-setup.default.edit_RTE = 1