Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9014 closed Bug (invalid)

PHP tags inside CKEditor

Reported by: Andre Jordao Owned by:
Priority: Normal Milestone:
Component: General Version: 3.5.2
Keywords: Cc: andrecj-51@…


Hello, I am making a new website for a small business and I am trying to have some php tags (example:

 <?php echo "something"; ?>

) inside my editor. But I cant figure it out how to do it correctly, Ive been trying some stuff I found over the internet but still not working fine. I know this is possible as I've been watching some topic over here. Aprecciated for you help in advance.

Change History (3)

comment:1 Changed 12 years ago by Andre Jordao

Cc: andrecj-51@… added

comment:2 Changed 12 years ago by Jakub Ś

Keywords: php tags inside editor wysiwyg removed
Resolution: invalid
Status: newclosed

Please note that the CKEditor development website is not the right place for support requests.

Please refer to the following article for information on where to get support for all issues related to CKEditor:

Also try using our forums for advice:

If you are looking for professional assistance, the CKEditor development team is available via a dedicated support channel that is included in all our commercial licenses:

As for your problem I think that the best approach will be using protectedSource option

Also try using the latest version of editor. CKE 3.5.2 is quite old.

comment:3 Changed 12 years ago by Jakub Ś

Portectedsource will protect your tags i WYSIWYG mode.

If you are looking for a way to insert PHP tags than you will have to write a simple plugin for that. Information on how to write plugins can be found here -

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy