[xwiki-users] how to declare in a js script that the editor can have more than one id

2009-11-11 Thread Bubulina
Hello, I found this link : http://code.xwiki.org/xwiki/bin/view/Modules/WysiwygEditorModule. It is an useful one, but if i wanna edit more than one html element(in this case textarea that has the id=demo) then it does now what to do. i tried making an array of hookedIds but that does not help

Re: [xwiki-users] how to declare in a js script that the editor can have more than one id

2009-11-11 Thread Marius Dumitru Florea
Hi, Bubulina wrote: Hello, I found this link : http://code.xwiki.org/xwiki/bin/view/Modules/WysiwygEditorModule. It is an useful one, but if i wanna edit more than one html element(in this case textarea that has the id=demo) then it does now what to do. i tried making an array of hookedIds

Re: [xwiki-users] how to declare in a js script that the editor can have more than one id

2009-11-11 Thread Jerome Velociter
On 11/11/09 1:10 PM, Marius Dumitru Florea wrote: Hi, Bubulina wrote: Hello, I found this link : http://code.xwiki.org/xwiki/bin/view/Modules/WysiwygEditorModule. It is an useful one, but if i wanna edit more than one html element(in this case textarea that has the id=demo) then it does

Re: [xwiki-users] how to declare in a js script that the editor can have more than one id

2009-11-11 Thread Sergiu Dumitriu
On 11/11/2009 01:27 PM, Jerome Velociter wrote: On 11/11/09 1:10 PM, Marius Dumitru Florea wrote: Of course, it's more elegant if you mark all text areas to be replaced with a CSS class like: textarea id=foo class=richtextarea/textarea textarea id=bar class=richtextarea/textarea and then

Re: [xwiki-users] how to declare in a js script that the editor can have more than one id

2009-11-11 Thread Marius Dumitru Florea
Hi Jerome, Jerome Velociter wrote: On 11/11/09 1:10 PM, Marius Dumitru Florea wrote: Hi, Bubulina wrote: Hello, I found this link : http://code.xwiki.org/xwiki/bin/view/Modules/WysiwygEditorModule. It is an useful one, but if i wanna edit more than one html element(in this case textarea