Bug #18262 ยป rtehtmlarea_bugfix_7604.patch
typo3/sysext/rtehtmlarea/ext_localconf.php (working copy) | ||
---|---|---|
require_once(t3lib_extMgm::extPath($_EXTKEY) . 'ext_emconf.php');
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['version'] = $EM_CONF[$_EXTKEY]['version'];
|
||
// Set compatibility warnings in the Update Wizard of the Install Tool
|
||
$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['tx_rtehtmlarea_indent'] = array(
|
||
'title' => 'htmlArea RTE: Using CSS classes for indentation and alignment',
|
||
'version' => 4002000,
|
||
'description' => '<ul>
|
||
<li><b>Indentation is produced by a CSS class instead of the blockquote element.</b><br />You will need to specify in Page TSConfig the class to be used for indentation using property buttons.indent.useClass (default is "indent"). You will need to define this class in your stylesheets and ensure that it is allowed by the RTE transformation (RTE.default.proc). Alternatively, you may continue using the blockquote element by setting property buttons.indent.useBlockquote. You may also want to add the new blockquote button to the RTE toolbar.</li>
|
||
<li><b>Text alignment is produced by CSS classes instead of deprecated align attribute.</b><br />You will need to specify in Page TSConfig the class to be used for each text alignment button using property buttons.[<i>left, center, right or justifyfull</i>].useClass (defaults are "align-left", "align-center", "align-right", "align-justify"). You will need to define these classes in your stylesheets, and ensure that they are allowed by the RTE transformation (RTE.default.proc). Alternatively, you may continue using deprecated align attribute by setting property buttons.[<i>left, center, right or justifyfull</i>].useAlignAttribute.</li>
|
||
</ul>'
|
||
);
|
||
// Initialize plugin registration array
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins'] = array();
|
||
... | ... | |
t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/image/pageTSConfig.txt">');
|
||
}
|
||
// Add compatibility Page TSConfig for indentation and alignment
|
||
if (!t3lib_div::compat_version('4.2.0')) {
|
||
t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/res/indentalign/pageTSConfig.txt">');
|
||
}
|
||
// Configure extended Inline Elements
|
||
if ($_EXTCONF['enableInlineElements']) {
|
||
$TYPO3_CONF_VARS['EXTCONF']['rtehtmlarea']['plugins']['InlineElements'] = array();
|
typo3/sysext/rtehtmlarea/res/indentalign/pageTSConfig.txt (revision 0) | ||
---|---|---|
# ***************************************************************************************
|
||
# Compatibility configuration for indentation and alignment
|
||
#
|
||
# @author Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
|
||
#
|
||
# TYPO3 SVN ID: $Id: pageTSConfig.txt $
|
||
# ***************************************************************************************
|
||
## Default RTE configuration
|
||
|
||
RTE.default.buttons.indent.useBlockquote = 1
|
||
RTE.default.buttons.left.useAlignAttribute = 1
|
||
RTE.default.buttons.center.useAlignAttribute = 1
|
||
RTE.default.buttons.right.useAlignAttribute = 1
|
||
RTE.default.buttons.justifyfull.useAlignAttribute = 1
|