Title: HTML5 Drag and drop code not working within posts
Last modified: August 21, 2016

---

# HTML5 Drag and drop code not working within posts

 *  [TerryMitchell](https://wordpress.org/support/users/terrymitchell/)
 * (@terrymitchell)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/html5-drag-and-drop-code-not-working-within-posts/)
 * Hi guys
 * I’m very curious to know if there are any known issues with drag n drop type 
   html5 code WITHIN posts using custom fields. My code works fine outside of WP
   environment but once I try to implement it within posts it starts freaking out
   and the item being dragged ‘jumps’ to around 1/4 of a page away from the cursor,
   and this is obviously of no use. It seems to run fine in Chrome by the way but
   all other browsers have the same problem
 * I’m using the TwentyFourteen theme – could it be a theme issue??
 * Please, any advice would be most welcome.
 * Many thanks in advance
 * Terry

Viewing 1 replies (of 1 total)

 *  Thread Starter [TerryMitchell](https://wordpress.org/support/users/terrymitchell/)
 * (@terrymitchell)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/html5-drag-and-drop-code-not-working-within-posts/#post-4963502)
 * So, after checking in two other (older) themes I had on my localhost setup I’ve
   established that it’s not a ‘theme’ issue. It’s definitely something within the
   WordPress setup that’s freaking out the HTML5/JS code. The item being dragged
   always seems to jump around the same distance from the cursor – if that’s any
   help.
 * Oh, and this is all on my Localhost setup so I can’t include a link.
 * Thanks again
 * Terry

Viewing 1 replies (of 1 total)

The topic ‘HTML5 Drag and drop code not working within posts’ is closed to new replies.

## Tags

 * [drag](https://wordpress.org/support/topic-tag/drag/)
 * [html5](https://wordpress.org/support/topic-tag/html5/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [TerryMitchell](https://wordpress.org/support/users/terrymitchell/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/html5-drag-and-drop-code-not-working-within-posts/#post-4963502)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
