Title: TinyMCE Remove nearest Div
Last modified: August 21, 2016

---

# TinyMCE Remove nearest Div

 *  [willcowd](https://wordpress.org/support/users/willcowd/)
 * (@willcowd)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/tinymce-remove-nearest-div/)
 * Hi All
 * I hope you can help.
    I’ve looked here and on tinyMCE but can’t find the answer.
 * I’m building a plugin which will remove the content of the closest div.row class
   from where the cursor is. To add content I’m using `parent.tinyMCE.activeEditor.
   execCommand("mceInsertContent", false, content );`
 * but can’t find a way of removing content based on mouse position.
    Any help would
   be great.
 * Thanks
    Mark

The topic ‘TinyMCE Remove nearest Div’ is closed to new replies.

## Tags

 * [removing content](https://wordpress.org/support/topic-tag/removing-content/)
 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)

 * 0 replies
 * 1 participant
 * Last reply from: [willcowd](https://wordpress.org/support/users/willcowd/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/tinymce-remove-nearest-div/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
