Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2011 at 02:01 UTC
Updated:
3 Nov 2011 at 08:55 UTC
I am trying to use PHP code format and if I save any page that has PHP code on it, for example
echo "Hello";
When I go back to edit it, CKeditor has changed it to
Hello
Comments
Comment #1
mkesicki commentedCan you explain for what reason you try use php code ? If you want to mark content as 'code' (drupal style) please insert it in
tag.If this doesn't resolve your problem please write more information and reopen this ticket.
Comment #2
dczepierga commentedComment #3
carlos.macao commentedThe same for me. If I try to edit any ancient node with php content, the php code is replaced by the rendered output and disappears. Returning to 7.x-1.2 solves this problem.
Comment #4
dczepierga commentedHi,
We add new feature to CKEditor module: #1280298: [D7] Add configuration option to disable text format filters in filter/xss request.
It should help in this case. Pls update to last DEV version and check does it help or not.
Greetings
Comment #5
carlos.macao commentedIt works! Thanks.
Comment #6
dczepierga commentedOk, so i mark is as fixed.
Greetings
Comment #7
tdurocher commentedStill seeing this in 7.x-1.4. CKEditor version is 3.6. All PHP is stripped as soon as I go back to Rich Text editor. This is on a custom block and PHP Filter is enabled on the block. Am I supposed to set a configuration option to allow this?
Comment #8
tdurocher commentedAnybody? This does not seem to be fixed. Should I open a new issue?
Comment #9
mkesicki commented@tdurocher
yes you can open new issue. Please remember to add some example what you wish to achieve.