CodeIgniter Forums
More ID's with CKEditor - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: More ID's with CKEditor (/showthread.php?tid=30359)



More ID's with CKEditor - El Forum - 05-12-2010

[eluser]Dizza[/eluser]
Hi there,

Im having a problem with CKEditor. Ive implemented it and it works perfectly EXCEPT the fact that i can only use it with one id (message). I want to use it for other id's to. Is this possible? And can someone tell me how?

Code:
'id'    =>   'message',      // Must match the textarea's id

At the moment i can only use one CKEditor field thanks to the id. Is there a solution to this?

I have another question about CKEditor, how can i upload files? There's no function for it. is there a place where i can find this?

Thanks!


More ID's with CKEditor - El Forum - 05-14-2010

[eluser]Dizza[/eluser]
Can someone please help me with this? At the moment im stuck.. I already tried adding more ID's and also tried to change the ckeditor_helper but i just cant make it work.

thanks Big Grin


More ID's with CKEditor - El Forum - 05-14-2010

[eluser]GlennJ[/eluser]
Can you not apply the editor by class using jQuery? Surely that would sort it?


More ID's with CKEditor - El Forum - 05-14-2010

[eluser]Dizza[/eluser]
[quote author="GlennJ" date="1273849211"]Can you not apply the editor by class using jQuery? Surely that would sort it?[/quote]

That might be the solution :O But i have to make a class with css then? And just simply call it in my view file?

or? Tongue


More ID's with CKEditor - El Forum - 05-14-2010

[eluser]GlennJ[/eluser]
You have posted this in the wrong forum BTW I think.

You don't have to have a CSS entry to use a class.
See http://docs.cksource.com/CKEditor_3.x/Developers_Guide/jQuery_Adapter