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
Support
Last post
Sat, 11/12/2005 - 10:41
#1
metafor
Joined:
12/11/2005
Posts:
2
How to activate the hidden Editorfield
http://www.freshpixel.net/forum
Sat, 11/12/2005 - 10:41
#2
metafor
Joined:
12/11/2005
Posts:
2
RE: How to activate the hidden Editorfield
Hi!
I did that by myself.
Instead of reactivating I used not hiding. Look at my eyample:
// Manuel Fischer - Test if an alternative editor is requested
if ($cookie_editor == 'off') {
// Don't load the HTML Editor
}
// Include the FCKEditor
else {
echo '
<link href="./fckeditor/sample.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( "FCKeditor1" ) ;
oFCKeditor.BasePath = \'./fckeditor/\' ;
oFCKeditor.Height="500";
oFCKeditor.Width="700";';
echo 'oFCKeditor.ReplaceTextarea();
}
</script>';
}
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
RE: How to activate the hidden Editorfield
I did that by myself.
Instead of reactivating I used not hiding. Look at my eyample:
// Manuel Fischer - Test if an alternative editor is requested
if ($cookie_editor == 'off') {
// Don't load the HTML Editor
}
// Include the FCKEditor
else {
echo '
<link href="./fckeditor/sample.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( "FCKeditor1" ) ;
oFCKeditor.BasePath = \'./fckeditor/\' ;
oFCKeditor.Height="500";
oFCKeditor.Width="700";';
echo 'oFCKeditor.ReplaceTextarea();
}
</script>';
}