Opened 14 years ago
Last modified 14 years ago
#6669 closed Bug
HTML code not inserting in IE, Inserting in FireFox — at Version 2
Reported by: | Raghavendra | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.4.2 |
Keywords: | Cc: | raghavendra.ps@… |
Description (last modified by )
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.
Change History (2)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Status: | new → confirmed |
It seems that IE creates it as text node.
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 using firefox client but not using IE client.
Is there any way that we can insert html code in to ck editor which will work using both the browsers?
Regards, Raghavendra.