TCEFORM.tt_content.imageorient.removeItems = --div-- also removes imageorient "0 = Above, center"
If you want to remove the
__no wrap:__ (see screenshot) over user config with: <pre> TCEFORM.tt_content.imageorient.removeItems = --div-- </pre> Position "0 = Above, center" is also removed. This bug allready exists in typo 4.5 !
Updated by Philipp Gampe over 10 years ago
- Category changed from Backend User Interface to Backend API
- Status changed from New to Needs Feedback
- TYPO3 Version changed from 6.1 to 6.0
- PHP Version set to 5.2
- Complexity set to hard
Did you try to remove the items 25 and 26? This should also remove the whole optgroup.
I do not think that we will fix this for 4.x, because those are in priority&security maintenance.
Updated by Fabian Thommen over 10 years ago
If I remove 25 and 26, of course --div-- has gone.
But for this project specific config, I need imageorient 0 and 26
TCEFORM.tt_content.imageorient.removeItems = 1, 2, 8,9,10,18, 17, 26
Its ok to fix it for 6.x branch.
Maybe this --div-- = no_wrap should be removed anyway, it's a bit odd anyway.