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
Tue, 02/17/2004 - 04:43
#1
jowns
Joined:
13/02/2004
Posts:
3
Basics: I can't insert data from db to FCK
http://www.kystlivredningdanmark.dk/FCK ... bar=Klrnet
Tue, 02/17/2004 - 04:43
#2
francescob
Joined:
17/02/2004
Posts:
2
RE: Basics: I can't insert data from db to FC
same problem here, this is my solution
<input type="hidden" value="<%=rset.getObject("text") %>" name="txt">
<SCRIPT language="javascript">
<!--
var oFCKeditor ;
oFCKeditor = new FCKeditor('testo') ;
oFCKeditor.Value = document.cms.txt.value;
oFCKeditor.Config['StyleNames'] = ';Style 1;Style 2; Style 3' ;
oFCKeditor.Config['ToolbarFontNames'] = ';Arial;Courier New;Times New Roman;Verdana' ;
oFCKeditor.Create() ;
//-->
use an hidden field to store the data and then access it with document.cms.txt.value. Works great for me
Bye
Francesco
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
RE: Basics: I can't insert data from db to FC
<input type="hidden" value="<%=rset.getObject("text") %>" name="txt">
<SCRIPT language="javascript">
<!--
var oFCKeditor ;
oFCKeditor = new FCKeditor('testo') ;
oFCKeditor.Value = document.cms.txt.value;
oFCKeditor.Config['StyleNames'] = ';Style 1;Style 2; Style 3' ;
oFCKeditor.Config['ToolbarFontNames'] = ';Arial;Courier New;Times New Roman;Verdana' ;
oFCKeditor.Create() ;
//-->
use an hidden field to store the data and then access it with document.cms.txt.value. Works great for me
Bye
Francesco