Main navigation
Product navigation
Main content
CKEditor 4
Overview
Demo
Accessibility Checker
Add-ons
Documentation
Download
Pricing
More
Home
WYSIWYG Editors
CKEditor 4
CKEditor 5
Image upload
CKFinder
Easy Image
Collaboration
Comments
New
Track changes
New
Collaborative editing
Pricing
Case studies
New
Documentation
Help center
Blog
Contact us
The forum operates in
read-only
mode. Please head to
StackOverflow
for support.
Forums
CKEditor
FCKeditor 2
Last post
Tue, 04/03/2007 - 03:26
#1
wilf1
Joined:
04/01/2007
Posts:
2
Preserving PHP content in the editor?
<?php
function();
?>
http://www.fckeditor.net/demo
Fri, 01/05/2007 - 09:58
#2
cwt137
Joined:
25/07/2005
Posts:
8
RE: Preserving PHP content in the editor?
make sure the line below is uncommented in the fckconfig.js file:
FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;
Tue, 04/03/2007 - 03:26
#3
gregsmith154
Joined:
30/05/2007
Posts:
16
RE: Preserving PHP content in the editor?
Is there a way to do this 'on the fly' in php something like this?:
$oFCKeditor->Config['ProtectedSource'] .= '/<\?[\s\S]*?\?>/g';
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
RE: Preserving PHP content in the editor?
FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;
RE: Preserving PHP content in the editor?
$oFCKeditor->Config['ProtectedSource'] .= '/<\?[\s\S]*?\?>/g';