WordPress.org

Forums

Add item to quick tags menu bar (4 posts)

  1. spacedog
    Member
    Posted 10 years ago #

    Hi, I've downloaded and installed the embed flash plugin from:
    http://www.kimili.com/journal/38/kimili-flash-embed---wordpress-edition/

    and I've got it working fine after I realised that there was a minor problem with the doumentation, namely instead of using:
    <kml_flashembed movie="filename.swf"
    height="150"
    width="300"></kml_flashembed>
    to embed a fklash file you should use:
    <flashembed movie="filename.swf" height="150" width="300"></flashembed>.

    Anyway on to the question, I'd like to add a new button to the quicktags that will add the:
    <flashembed movie="" height="" width=""> & </flashembed> when clicked.
    As it would save a bit of time when I want to add any flash content.
    can anyone give some pointers on how to edit the quicktags.js to achieve this?
    thanks

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

  3. Ryan Duff
    Member
    Posted 10 years ago #

    Maybe something like this. Owen's edit button template You can modify the plugin or use the functions in your own plugin. Just make sure to mention Owen if you use it in your own code.

  4. herold
    Member
    Posted 9 years ago #

    I am trying to make a little plugin that add a button to the quick link panel with the following function: In the text area when I highlight a word and click the button a window pops up that links to the wiki directory with the highlighted word explained.

    Any help to this is appreciated. I understand that Owen has already a simple template to edit a button.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags