Skip to content

Commit

Permalink
Merge pull request #121 from cauburtin/gh-pages
Browse files Browse the repository at this point in the history
Insert image in link
  • Loading branch information
johanneswilm committed Apr 11, 2016
2 parents 864be8d + 9aec35c commit 4a16ae2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions execCommand.html
Original file line number Diff line number Diff line change
Expand Up @@ -16655,6 +16655,10 @@ <h3 id="the-insertimage-command"><dfn>The <code title=
"dom-Range-insertNode"><a href=
"http://dom.spec.whatwg.org/#dom-range-insertnode">insertNode(<var title="">img</var>)</a></code>
on <var title="">range</var>.</p>

<p class="note">An image could be inserted inside a link, with either this command or insertHTML.
On Chrome 51 dev, inserting an image (with insertImage or insertHTML)
inside a link will remove the parent link. Firefox 48 allows this nesting.</p>
</li>

<li>Let <var title="">selection</var> be the result of calling
Expand Down

0 comments on commit 4a16ae2

Please sign in to comment.