Bug #19301
closedtable border colour popups appear only when textc olour button is shown
0%
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
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.
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.
Updated by Stanislas Rolland about 16 years ago
Committed to SVN TYPO3core trunk (revision 4130) and branch TYPO3_4-2 (revision 4131).