Opened 7 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

  1. Open the CKEditor sample page(http://ckeditor.com/features) in chrome ( any browser with console)
  2. Open Chrome web console and try adding an anchor element with this command

"window.CKEDITOR.document.createElement("a",{attributes:{href:'google.com'}})"

  1. 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"

Other details (browser, OS, CKEditor version, installed plugins)

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy