I'd like to use a context menu which triggers an inline-WYSIWYG editor for a specific div.
This means I right-click on the div, a context menu appears and when I hit "edit", the editor triggers for that div.

The problem is that I need the ID of that div. If I use a context menu and say
then the "this.id" part wont be the ID of the div.

Do you know how I can get the right ID?