Bug #15273
closed
remove all RTE configuration code from CSS Styled Content
Added by Peter Niederlag almost 19 years ago.
Updated over 10 years ago.
Category:
Content Rendering
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
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
I attached a diff and try to get this into the Core.
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'.
committed to CVS will be in 4.0/beta3
Please check if using defaultExtras on bodytext will not have the effect of enabling the RTE on content elements of type HTML?
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.. :-<
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.
Fixed in TYPO3core CVS, branch TYPO3_4-0.
- Target version deleted (
0)
- TYPO3 Version set to 4.0
- Is Regression set to No
Also available in: Atom
PDF