Ok -- adding on this

I can see I have to have a function upon click -- so that when anyone clicks anywhere to set the text to be red, bold, fontsize, etc -- correct?


On Apr 22, 2008, at 7:52 AM, grimmwerks wrote:

Argh.

It gets worse - I've set setStyle("color", 0xFF0000) but I've a different issue.

If a commenter clicks within a block of text that is already black, it sets their text to be black again.

Is there a way of automatically setting the colorPicker to red and KEEPING it at red even if they click somewhere else.


On Apr 22, 2008, at 7:49 AM, grimmwerks wrote:

Hey - I've got a RTE that gets it's starting text from a file, but then allows people to comment. I want to set the commenters text to be red.

I've tried rte.colorPicker.selectedColor=0xFF0000; but it doesn't seem to be doing anything.

Can anyone tell me how to set this?
                                



Reply via email to