title: Javascript trick for 'paste as plain text` in execCommand
body: <p>I have a basic editor based on <code>execCommand</code> following the sample introduced here. There are three ways to paste text within the <code>execCommand</code> area:</p>
  
  <ul>
  <li><kbd>Ctrl</kbd>+<kbd>V</kbd> </li>
  <li>Right Click -> Paste</li>
  <li>Right Click -> Paste As Plain Text</li>
  </ul>
  
  <p>I want to allow pasting only plain text without any HTML markup. How can I force the first two actions to paste Plain Text?</p>
  
  <p><strong>Possible Solution:</strong> The way I can think of is to set listener for keyup events for (<kbd>Ctrl</kbd>+<kbd>V</kbd>) and strip HTML tags before paste.</p>
  
  <ol>
  <li>Is it the best solution?</li>
  <li>Is it bulletproof to avoid any HTML markup in paste?</li>
  <li>How to add listener to Right Click -> Paste?</li>
  </ol>