<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 - Only first character inserted into a element in contenteditable mode"
   href="https://bugs.webkit.org/show_bug.cgi?id=154496">154496</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Only first character inserted into a element in contenteditable mode
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>Safari 9
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </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>m.lewandowski&#64;cksource.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>## Repro steps

1. Open <a href="http://codepen.io/mlewand/pen/obRKqM?editors=1100">http://codepen.io/mlewand/pen/obRKqM?editors=1100</a>
1. Focus contenteditable div (marked with blue border)
1. Make a selection containing at least one character at the end of link e.g. `&lt;a href=&quot;#&quot;&gt;bar baz [bom]&lt;/a&gt;`
1. Type &quot;aaa&quot;

### Expected

Link inner text is changed to `&lt;a href=&quot;#&quot;&gt;bar baz aaa&lt;/a&gt;`.

### Actual

Only first character gets into the link, any subsequent will be placed outside the anchor.


### References

This issue has been picked up by Drupal community <a href="https://www.drupal.org/node/2671896">https://www.drupal.org/node/2671896</a>.</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>