#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@… |
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 (3)
comment:1 Changed 13 years ago by
Cc: | andrecj-51@… added |
---|
comment:2 Changed 13 years ago by
Keywords: | php tags inside editor wysiwyg removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:3 Changed 13 years ago by
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.
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.