[CKEditor Dev] #9014: PHP tags inside CKEditor

1 view
Skip to first unread message

CKEditor

unread,
Jun 4, 2012, 5:42:56 PM6/4/12
to ckeditor...@googlegroups.com
#9014: PHP tags inside CKEditor
--------------------------------------------+-------------------
Reporter: andrecj | Type: Bug
Status: new | Priority: Normal
Component: General | Version: 3.5.2
Keywords: php tags inside editor wysiwyg |
--------------------------------------------+-------------------
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.

--
Ticket URL: <http://dev.ckeditor.com/ticket/9014>
CKEditor <http://ckeditor.com/>
The text editor for the Internet

CKEditor

unread,
Jun 4, 2012, 5:46:47 PM6/4/12
to ckeditor...@googlegroups.com
#9014: PHP tags inside CKEditor
----------------------+--------------------------------------------
Reporter: andrecj | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version: 3.5.2
Resolution: | Keywords: php tags inside editor wysiwyg
----------------------+--------------------------------------------
Changes (by andrecj):

* cc: andrecj-51@… (added)


--
Ticket URL: <http://dev.ckeditor.com/ticket/9014#comment:1>

CKEditor

unread,
Jun 5, 2012, 6:16:06 AM6/5/12
to ckeditor...@googlegroups.com
#9014: PHP tags inside CKEditor
----------------------+--------------------
Reporter: andrecj | Owner:
Type: Bug | Status: closed

Priority: Normal | Milestone:
Component: General | Version: 3.5.2
Resolution: invalid | Keywords:
----------------------+--------------------
Changes (by j.swiderski):

* status: new => closed
* keywords: php tags inside editor wysiwyg =>
* resolution: => invalid


Comment:

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.

--
Ticket URL: <http://dev.ckeditor.com/ticket/9014#comment:2>

CKEditor

unread,
Jun 5, 2012, 6:28:48 AM6/5/12
to ckeditor...@googlegroups.com
#9014: PHP tags inside CKEditor
----------------------+--------------------
Reporter: andrecj | Owner:
Type: Bug | Status: closed
Priority: Normal | Milestone:
Component: General | Version: 3.5.2
Resolution: invalid | Keywords:
----------------------+--------------------

Comment (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.

--
Ticket URL: <http://dev.ckeditor.com/ticket/9014#comment:3>

Reply all
Reply to author
Forward
0 new messages