Ticket #9014 (closed Bug: invalid)
PHP tags inside CKEditor
| Reported by: | andrecj | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.5.2 |
| Keywords: | Cc: | andrecj-51@… |
Description
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
comment:2 Changed 12 months ago by j.swiderski
- Keywords php tags inside editor wysiwyg removed
- Status changed from new to closed
- Resolution set to invalid
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: http://docs.cksource.com/CKEditor_3.x/Howto/Support
Also try using our forums for advice: http://cksource.com/forums/
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: http://ckeditor.com/license
As for your problem I think that the best approach will be using protectedSource option http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.protectedSource
Also try using the latest version of editor. CKE 3.5.2 is quite old.
comment:3 Changed 12 months ago by j.swiderski
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 - http://docs.cksource.com/CKEditor_3.x/Tutorials.
