Project

General

Profile

Actions

Bug #19301

closed

table border colour popups appear only when textc olour button is shown

Added by Martin Kutschker about 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-09-08
Due date:
% Done:

0%

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

Description

There should be no connection between the text colour button and the table/row/cell border buttons.

Furthermore if the text colour button isn't shown the color selector is visible, but a click simply does nothing. This is a bit odd. IMHO it shouldn't be there if the user cannot do anything with it.

(issue imported from #M9310)


Files

rtehtmlarea_bugfix_9310.patch (7.09 KB) rtehtmlarea_bugfix_9310.patch Administrator Admin, 2008-09-15 19:08
Actions #1

Updated by Stanislas Rolland about 16 years ago

You're right. When both textcolor and bgcolor buttons are removed from the toolbar, the color plugin is just not dowloaded, nor registered. So the color options in table operations and inserttag are just doing nothing. Have to think the best way to fix this.

Actions #2

Updated by Stanislas Rolland about 16 years ago

The attached patch adds a new variable and method to the htmlArea RTE API so that a plugin can specify the list of plugins that are prerequisite for its operation. The RTE will enabled these prerequisite whether are not any of their buttons are enabled.

Table operation and Quicktag plugins will use this new API variable to require the appropriate color plugin.

Actions #3

Updated by Stanislas Rolland about 16 years ago

Committed to SVN TYPO3core trunk (revision 4130) and branch TYPO3_4-2 (revision 4131).

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF