execCommand( 'redo' ) not working if <input type="range"/> is dynamically injected meanwhile

Issue #10952739 • Assigned to Steven K.

Details

Author
Hristo C.
Created
Feb 14, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Open https://jsfiddle.net/ickata/9cc724v6/16/

  2. Select the image (click does not work, place the caret just after the image and shift + left arrow to select)

  3. Click [ Resize Image ] a couple of times

  4. Click Undo button [ ☋ ] a couple of times

  5. Click Redo button [ ☊ ] a couple of time

Observed result: Operations are NOT redone

Expected behavior: Undone operations must be redone

The dynamically injected <input type="range"> element between execCommand breaks the Redo. The element is injected outside editable container and has nothing to do with it and with execCommand.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To from “Brad E.” to “Steven K.”

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

    Sign in