This is a test of execCommand("Unlink"). It tests:

  1. Completely unlinking a link.
  2. Unlinking a single word inside of a link.
  3. Unlinking a selection containing linked and unlinked text.
  4. Unlinking a selection that partially selects a linked table.

The editable regions below describe what their content should be after the test.

  1. This paragraph starts with a link in the middle. Only the 'a' in the previous sentence should be linked after the test.
  2. This editable region contains lists, tables, styled text, and images. Everything in this region that is not selected should be a link, nothing that is selected should be a link.

    • Item 1
    • Item 2
    123

    This line contains an image.

The innerHTML of editable regions after the test: