Opened 8 years ago
#17041 new Bug
CKEDITOR.dom.document.createElement API changes the “href” attribute automatically
Reported by: | saikarthik | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.7.0 |
Keywords: | Cc: |
Description
Steps to reproduce
- Open the CKEditor sample page(http://ckeditor.com/features) in chrome ( any browser with console)
- Open Chrome web console and try adding an anchor element with this command
"window.CKEDITOR.document.createElement("a",{attributes:{href:'google.com'}})"
- In the result , expand the dom element and view the value of 'href' attribute
Expected result
href: google.com
Actual result
"http://ckeditor.com/google.com"