title: Get parent element of caret in iframe design mode
body: <p>I want to know what is the parent element of caret in an <code>iframe</code> with <code>designMode = 'on'</code>.
  The reason is that want to know if currently user is typing in a <code>p</code> tag.</p>