Custom button to insert html

  •  06-29-2008, 3:24 AM

    Custom button to insert html

    I can put a custom button on the toolbar and insert custom html.
    I need to take this a step further and have the image gallery/file selector pop up. User selects a file and my custom code is pasted into the editor with the selected filename inserted into my code.
     
    Exactly like the image/flash/media button option, but my code with insert a flash video file instead with the location of a flash player in the url as well.  eg. \flashplayer.swf?file=theselectedfile.flv
     
    Note, I will be using the existing image/media dialog box, not a custom one. The only difference to this and the existing one is the pasted html.
     
    Could you tell me or point me at code examples at how to do this?
View Complete Thread