<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Custom copy and cut does not work on iOS"
   href="https://bugs.webkit.org/show_bug.cgi?id=143776">143776</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Custom copy and cut does not work on iOS
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>iOS
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>HTML Editing
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>p.jasiun&#64;cksource.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>1. Open attached sample.
2. Select some text in the editable element (&quot;bar&quot;).
3. Use &quot;Copy&quot; option from the content balloon.
4. Move selection somewhere else in the editable element (put caret after &quot;Foo&quot;).
5. Try to paste.

Expected result: &quot;xxx&quot; will be paste (see the code).

Actual result: No paste option is available.

It works fine on the desktop browsers (tested with Safari, Chrome and Firefox).

Does not work on iOS 8.3 with mobile Safari 8 (AppleWebKit/600.1.4).

I tried to set all data types Safari&#64;iOS set by default (&quot;apple web archive pasteboard type&quot;, &quot;public.html&quot;, &quot;public.png&quot;, &quot;public.tiff&quot;, &quot;public.jpeg&quot;, &quot;com.compuserve.gif&quot;, &quot;text/uri-list&quot;, &quot;text/plain&quot;, &quot;com.apple.rtfd&quot;, &quot;public.rtf&quot;) but it does not solve the problem.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>