FCK editor more instances

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
deshmukh999
Forum Commoner
Posts: 32
Joined: Mon Mar 15, 2010 2:01 am

FCK editor more instances

Post by deshmukh999 »

Hi,

I downloaded fck editor editor,

But i am getting trouble when i going to create more than one instance of fck editor in one html page.
If any oen knows, Please suggest me how to do it?
pbs
Forum Contributor
Posts: 230
Joined: Fri Nov 07, 2008 5:31 am
Location: Nashik, India
Contact:

Re: FCK editor more instances

Post by pbs »

In below given code, give different names, it is the textarea name

Code: Select all


$oFCKeditor = new FCKeditor('description') ; // first instance

$oFCKeditor = new FCKeditor('description1') ; // second  instance

deshmukh999
Forum Commoner
Posts: 32
Joined: Mon Mar 15, 2010 2:01 am

Re: FCK editor more instances

Post by deshmukh999 »

Thank you for your great help.
Post Reply