The MU forums have moved to WordPress.org

what happens on drag n drop in vieual editor ? (3 posts)

  1. quenting
    Member
    Posted 17 years ago #

    Has anyone got a clue of where is the code that pilots the drag n drop in the visual editor ?
    I'm trying to identify what code to change so that when you drag n drop an image from the upload area into the editor, it would insert a linked thumbnal rather than just the thumbnail.

  2. andrea_r
    Moderator
    Posted 17 years ago #

    I'd be looking in both the inline uploading (inline-uploader.php I think) and the Tiny MCE code.

  3. quenting
    Member
    Posted 17 years ago #

    it looks like in inlineuploading, clicking an image somehow selects the containing div.
    there should then be some vent listener i couldn't find yet in tinymce that probably pastes the selected code. so to paste linked thumbnails, the trick is to have the linked thumbnail used in the upload area.

About this Topic

  • Started 17 years ago by quenting
  • Latest reply from quenting