Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Must have
Category:
Content Rendering
Target version:
-
Start date:
2005-12-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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: <>
(issue imported from #M2023)


Files

ext_cms-patch-rte.diff (2 KB) ext_cms-patch-rte.diff Administrator Admin, 2006-01-15 14:28
patch-remove-rte-config.diff (2.88 KB) patch-remove-rte-config.diff Administrator Admin, 2006-01-27 11:01
tbl_tt_content.php.patch (684 Bytes) tbl_tt_content.php.patch Administrator Admin, 2006-02-23 16:40
Actions #1

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

Actions #2

Updated by Peter Niederlag almost 19 years ago

I attached a diff and try to get this into the Core.

Actions #3

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'.

Actions #4

Updated by Peter Niederlag almost 19 years ago

committed to CVS will be in 4.0/beta3

Actions #5

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?

Actions #6

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.. :-<

Actions #7

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.

Actions #8

Updated by Stanislas Rolland over 18 years ago

Fixed in TYPO3core CVS, branch TYPO3_4-0.

Actions #9

Updated by Chris topher over 10 years ago

  • Target version deleted (0)
  • TYPO3 Version set to 4.0
  • Is Regression set to No
Actions

Also available in: Atom PDF