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
Wed, 02/22/2006 - 00:19
#1
suad
Joined:
22/02/2006
Posts:
1
TEXTAREA replacement method?
I have 2 Textareas in a form, how to relpace them both with FCK? Or Can I hawe two Textareas with FCK editor one form with this method?
I'm new in this.
Thanks
Wed, 02/22/2006 - 06:11
#2
alfonsoml
Joined:
31/12/2006
Posts:
3735
RE: TEXTAREA replacement method?
It's just the same code:
<textarea name="FCKeditor1"></textarea>
<textarea name="FCKeditor2"></textarea>
and the js should be like this:
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
var oFCKeditor2 = new FCKeditor( 'FCKeditor2' ) ;
oFCKeditor2.BasePath = sBasePath ;
oFCKeditor2.ReplaceTextarea() ;
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
RE: TEXTAREA replacement method?
<textarea name="FCKeditor1"></textarea>
<textarea name="FCKeditor2"></textarea>
and the js should be like this:
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
var oFCKeditor2 = new FCKeditor( 'FCKeditor2' ) ;
oFCKeditor2.BasePath = sBasePath ;
oFCKeditor2.ReplaceTextarea() ;