CustomAddon dropdown possible?

  •  04-10-2009, 5:16 AM

    CustomAddon dropdown possible?

    I've just started using the editor.
     
    Does anyone know if it is possible to create a dropdown that can POST back its selection programmably using CustomAddons with PHP?
    $editor->CustomAddons = ??
     
    I've looked at the button demo and how the dropdowns are done in the config files but I'm not sure where to start.
     
    I did try something like...
    $editor->CustomAddons = '<select name="menu" id="menu"><option>item1</option><option>item2</option></select>';
    ... and although this did put a menu on the toolbar it has a strange behavior.
     
    In Firefox 3.0.8 when you try to select an item in the menu it defaults back to the first item. If you open the menu, close it again then use the arrow keys you can get to the different items :S
View Complete Thread