Implement cut, copy paste in uiwebview
<p>I am implementing a text editor using uiwebview for ipad. I am using a simple javascript to Bold Italics and Underline the text. </p>

<p><code>[webView stringByEvaluatingJavaScriptFromString:@"document.execCommand(\"Bold\")"];</code></p>

<p>The above code is using for making the text bold. </p>

<p>Now I want to implement cut, copy and paste as well. I am using this code for cut copy and paste.</p>

<p><code>[webView stringByEvaluatingJavaScriptFromString:@"document.execCommand(\"Cut\")"];
[webView stringByEvaluatingJavaScriptFromString:@"document.execCommand(\"Copy\")"];
[webView stringByEvaluatingJavaScriptFromString:@"document.execCommand(\"Paste\")"];
</code>
But its not working. Am I using the wrong command parameter or is there any way to implement it?
I understand there is a popup menu which gives all these features but I want to disable this  popup menu and want to used of my own.</p>

<p>Thanks</p>
