Hello, please help. CKEditor to mode Source and enter the following text:
<table>
<tr>
<td>1</td>
</tr>
{foreach}
<tr>
<td>1</td>
</tr>
{/foreach}
</table>
Output:
<p>{foreach} {/foreach}</p>
<table>
<tbody>
<tr>
<td>1</td>
</tr>
<tr>
<td>1</td>
</tr>
</tbody>
</table>
I want to tag {foreach} does not move.

{foreach} is not valid HTML
{foreach} is not valid HTML code for CKEditor. If you want CKEditor to ignore it, add it to the protectedSource configuration option.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Thanks, I'll try
Thanks, I'll try
If you use this setting, the
If you use this setting, the window does not appear, these code sections.
How can I make the code has not changed and that it is displayed in the CKEditor?