execCommand(createLink, true, url) doesn't work in Edge

Confirmed Issue #9231281 • Assigned to Grisha L.

Details

Author
Grisha L.
Created
Oct 6, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.14939
Reports
Reported by 3 people

Sign in to watch or report this issue.

Steps to reproduce

<html>
<body>
<div id="CE" contenteditable><b>aaaaa</b>bbbbb </div>

<input type="button" onclick="createLink();" value="Create Link"/>
<script>
function createLink()
{
var shrt = document.getElementById(‘CE’);
var url = "http://www.bing.com";
document.execCommand("createLink", true, url);
}
</script>
</body>
</html>

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Amit J.”

      Changed Status to “Confirmed”

      Changed Title from “execCommand(creatLink, true, url) doesn't work in Edge” to “execCommand(createLink, true, url) doesn't work in Edge”

      Changed Assigned To from “Amit J.” to “Ibrahim O.”

      Changed Assigned To to “Amit J.”

      Changed Assigned To to “Amit J.”

      Changed Assigned To from “Amit J.” to “Grisha L.”

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

    Sign in