Hi all -
I was trying to insert programatically the below html into ckeditor source
<table style="border-width: 1px; border-style: solid; width: 750px;">
<tbody>
<tr bgcolor="#9acd32">
<th>ITEM</th>
<th>SIZE</th>
<th>UNITS</th>
<th>AMOUNT</th>
</tr>
<xsl:for-each select="/OrderConfirmation/OrderLineItems">
<tr>
<td style="width: 400px;"><xsl:value-of select="Item" /></td>
<td><xsl:value-of select="Size" /></td>
<td><xsl:value-of select="Units" /></td>
<td><xsl:value-of select="Amount" /></td>
</tr>
</xsl:for-each>
<tr>
<td> </td>
<td colspan="2">Product total</td>
<td><xsl:value-of select="ProductTotal" /></td>
</tr>
<tr>
<td> </td>
<td colspan="2">Delivery charges</td>
<td><xsl:value-of select="DeliveryCharges" /></td>
</tr>
<tr>
<td> </td>
<td colspan="2">Discount</td>
<td><xsl:value-of select="Discount" /></td>
</tr>
<tr>
<td> </td>
<td colspan="2"><strong>TOTAL</strong></td>
<td><strong><xsl:value-of select="Total" /></strong></td>
</tr>
</tbody>
</table>
but it was appearing in the IE10, Chrome and firefox like the below
<p><xsl:for-each select="/OrderConfirmation/OrderLineItems"></xsl:for-each></p>
the issue here, it is removing all the html code when we browse it in the IE10, Chrome and Firefox but its working fine in IE9.
I appriciate your help me on this.
Regards,
Ram
Maybe it's ACF (Advanced
Maybe it's ACF (Advanced Content Filter). Try disabling it by adding this to your config.js file:
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Also...
Once you've solved the large data stripping, you might want to prevent the paragraph wrapping the remaining code by setting the autoParagraph property of the config object to false.