document.execCommand not clearing all the styles when used with "removeFormat"

Issue #14139029 • Assigned to Steven K.


Karuppiah S.
Oct 9, 2017
This issue is public.
Found in
  • Internet Explorer
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

When we invoke the ocument.execCommand(aCommandName, aShowDefaultUI, aValueArgument) with the following values

aCommandName -> “removeformat”
aShowDefaultUI -> null
aValueArgument -> undefined

it is not clearing all the styles within the dom content. The same is working fine in all other browsers.


1 attachment

Comments and activity

  • how do we find out when this bug will be fixed?

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Hi,

    Can you provide a simplified repro for this or an online test case that you are aware of such as a w3c platform test?

    Appreciate the help with this,


  • Please use the attached file demo_text.txt which has the formatted html content. You can try invoking the above mentioned APIs and found that the expected styles are not getting cleared.

    Please let me know in case you need more information.

    Karuppiah S.

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

Sign in