2011-07-16, 03:19 PM
Hi there,
I'm trying to customise the forum to have more than 1 message editor on one page
I've found the part that says:
The textarea with the id="advice" is present, but it seems I can't have more than 2 of these message Editors on the same page.
If I remove the script for clickableEditor, clickableAdvice works, if I have both present, only clickableEditor works.
Any idea what I have to do to have more than one Editor on the same page?
I'm trying to customise the forum to have more than 1 message editor on one page
I've found the part that says:
var clickableEditor = new messageEditor("message", {lang: editor_language, rtl: 0, theme: "default"});
if(clickableEditor){clickableEditor.bindSmilieInserter("clickable_smilies");}
for now, I'm hard coding it and was planning to add the following below: var clickableAdvice = new messageEditor("advice", {lang: editor_language, rtl: 0, theme: "default"});
if(clickableAdvice){clickableAdvice.bindSmilieInserter("clickable_smilies");}
The textarea with the id="advice" is present, but it seems I can't have more than 2 of these message Editors on the same page.
If I remove the script for clickableEditor, clickableAdvice works, if I have both present, only clickableEditor works.
Any idea what I have to do to have more than one Editor on the same page?