Bug #15273
closedremove all RTE configuration code from CSS Styled Content
0%
Description
---snipp- rte-list (mail by stansilas/stucki)-------------
I think that any RTE configuration set in Page TSconfig should be removed from CSS Styled Content. I think, however, that this extension should modify the TCA definition of table tt_content.
For the bodytext column, it should add
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_css]';
And the same value for the bodytext component of types text and textpic.
Then, any RTE starts on clean grounds.
Date: Sun, 11 Dec 2005 00:12:10 -0500
Message-ID: <mailman.1.1134277931.12396.typo3-project-rte@lists.typo3.org>
(issue imported from #M2023)
Files
Updated by Stanislas Rolland almost 19 years ago
I did some testing on this issue.
On the bodytext column, it should be:
'defaultExtras' => 'richtext:rte_transform[mode=ts_css]';
As for the bodytext item of text and textpic types, it sould be:
bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3
Updated by Peter Niederlag almost 19 years ago
I attached a diff and try to get this into the Core.
Updated by Peter Niederlag almost 19 years ago
latest version 'patch-remove-rte-config.diff' ->
removes all RTE-configuration from system-extensions cms and css_styled_content so rte-extension starts on mostly clean ground.
Only thing kept in sysext:cms is to enable the 'ts_css' transformation by default and enabling rte for the bodytext field by using 'defaultExtras'.
Updated by Peter Niederlag almost 19 years ago
committed to CVS will be in 4.0/beta3
Updated by Stanislas Rolland over 18 years ago
Please check if using defaultExtras on bodytext will not have the effect of enabling the RTE on content elements of type HTML?
Updated by Peter Niederlag over 18 years ago
Of course I should have noted this on beforehand. :-<
That's really a pain: we can't clean it uplike this. Even worse: same goes for table-element.
I'll revert the patch ASAP, also right now I am facing three very busy days.. :-<
Updated by Stanislas Rolland over 18 years ago
I guess we need to do it only on text and textpic types with bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3
but, delete the defaultExtras on bodytext.
Attached a patch to fix this.
Updated by Stanislas Rolland over 18 years ago
Fixed in TYPO3core CVS, branch TYPO3_4-0.
Updated by Chris topher over 10 years ago
- Target version deleted (
0) - TYPO3 Version set to 4.0
- Is Regression set to No