I need to use Php Filter with ckeditor. Problem is that Ckeditor change this:
<?php echo "hello";?>
to
<p><?php echo "hello";?></p>
How can I solve this?
I already added this:
config.allowedContent = true;
under Custom JavaScript configuration at: admin/config/content/ckeditor/edit/Full
But it didn't help.
I also make sure I checked Php evaluator under Enabled filters at admin/config/content/formats/full_html
CKEDITOR.config.protectedSource.push( /<\?[\s\S]*?\?>/g );
I don't approve doing it, but should work. Don't know how to wrap it in Drupal.