Fixed A deleted custom BB code is left behind and not removed from the button manager drag-drop target in admin cp

Affected version
2.2.7

marquisite

Well-known member
Here's a screenshot showing a custom BB code added to one of the four button groups in the BB code button manager:
Cropped screenshot of BB code button manager before custom BB code is deleted

So what happens if that BB code is deleted? Here is what gets left behind:
Cropped screenshot of BB code button manager after custom BB code is deleted

I think that it would be nicer if BB code deletion could also clean up this button manager remnant :)



Secondly, I noticed that when a particular button group's buttonsVisible value is 0, then all of the buttons in that group are unexpectedly styled with full opacity. This gives the wrong impression that a 0 value disables the 'More options...' control for that group.

xenforo-2-2-admin-cp-bb-code-button-manager-buttons-visible-0-vs-1-opacity-styling.jpg

The preview editor is A-OK, though! đź‘Ť
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.8).

Change log:
Remove orphaned buttons from the button manager and correctly indicate button visibility
There may be a delay before changes are rolled out to the XenForo Community.
 
Top