Opened 14 years ago
Last modified 14 years ago
#6669 closed Bug
HTML code not inserting in IE, Inserting in FireFox — at Initial Version
Reported by: | Raghavendra | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.4.2 |
Keywords: | Cc: | raghavendra.ps@… |
Description
Hi,
I'm trying to insert a piece of HTML code in to Ckeditor.
The Html code looks like as follows <sct-component id='475398579878' target-name=' TragetName' > Targetname </sct-component>
we are inserting this piece of html code using the following code
var htmlValue = CKEDITOR.dom.element.createFromHtml(htmlString); CKEDITOR.instances[ckInstanceName].insertElement(htmlValue);
The above piece of code insering the html code (above mentioned html tag) in to the ck editor in firefox but not in IE.
Is there any way that we can insert html code in to ck editor which will work in both the browsers?
Regards, Raghavendra.