WordPress.org

Forums

Click image, insert to writing area. How is this done? (4 posts)

  1. Leo Blanchette
    Member
    Posted 2 years ago #

    I'm creating a plugin that inserts images (found on a site) into your post. The plugin operates directly below the writing area.

    I'd like to know if wordpress had a standard command to *on click* insert data (in this instance, an image or image code) into the text area.

    I could write the jquery code myself, but I want to make sure there is not a standard function available for this.

    I don't need a written tutorial for a reply, but a simple link or explanation could send me off in the right direction

  2. fonglh
    Member
    Posted 2 years ago #

    have you looked at the default insert media buttons?

  3. Leo Blanchette
    Member
    Posted 2 years ago #

    That never occurred to me. I'll research that and see if any provision is made to allow plugins to use them.

  4. Leo Blanchette
    Member
    Posted 2 years ago #

    This ended up being a huge part of the solution...
    http://wordpress.org/support/topic/how-to-insert-data-into-post-area?replies=3

Topic Closed

This topic has been closed to new replies.

About this Topic