contenteditable wraps writtent text with inline element like `<span>` or `<font>`

Fixed Issue #13054850


Mateusz S.
Aug 2, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce


Steps to reproduce:

  1. Open one of those codepens:
  2. Select all text by Ctrl+A.
  3. Press Backspace or Delete to remove all text.
  4. Start to type again.

Actual result:

<span> element wraps written text, in case of 2nd example <font> element wraps written text.
On Edge16, there appear also extra attributes such as style="background-color: transparent;" or size=16

Expected result:

There will be no extra inline elements in written text

Tested on Virtual Env - Virtual Box - Win10 with Edge 15 and Edge 16.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “Anupam S.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Fixed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in