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.
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
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.
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.
Committed to SVN TYPO3core trunk (revision 4130) and branch TYPO3_4-2 (revision 4131).
- Status changed from Resolved to Closed
Also available in: Atom
PDF