0
I’m using Ckeditor, everything goes well, however, I can’t make posts ('tutorials') that contain php tags. For example:
<?php
acho 'teste';
The tag <?php
is not displayed. Is there any configuration of Ckeditor itself that would solve this?
0
I’m using Ckeditor, everything goes well, however, I can’t make posts ('tutorials') that contain php tags. For example:
<?php
acho 'teste';
The tag <?php
is not displayed. Is there any configuration of Ckeditor itself that would solve this?
0
I found a solution here: http://komlenic.com/246/encoding-entities-to-work-with-ckeditor-3/
With this, before sending the content to the Ckeditor I’m making a character substitution:
str_replace('&', '&', $post->conteudo);
Browser other questions tagged javascript jquery
You are not signed in. Login or sign up in order to post.