First for the suggestion:
There are a couple of questions on the board here that seem to be very common one of them being (1) Default text [i.e. the user doesn't know that style sheets are not recognized until preview] and another is about (2) the "red x". Since they are so common, maybe it would be reasonable to create a faq just for these types of reoccuring questions (and answers). Needless to say, these two questions are only a couple of the many examples we could place here.
The tip is this:
It seems to me (as a web desinger) that there are some functions of the toolbar in the editor that you DON'T want your clients to have access to. It takes a fair bit of understanding to modify the existing code to disable these buttons without producing javascript errors in IE. There is however a simple way to accomplish such a thing.
Since IE 6.0 is required for the use of this editor anyway one might use the "visibility" property of CSS. (only IE 4.0 is required for this property)
For instance, a website i have designed is stylistically controlled by external style sheets, therefore, I do not wish for my clients to be able to change font size, color, or face. I would make the following change to /ieeditor/ieeditor.php, by adding the text:
FROM
<div class="tbToolbar" ID="FormatToolbar">
<select ID="ParagraphStyle" class="tbGeneral" style="width:90;" .......
</select>
<select ID="FontName" class="tbGeneral" style="width:140;" .............
</select>
<select ID="FontSize" class="tbGeneral" style="width:40;..............
</select>
TO
<div class="tbToolbar" ID="FormatToolbar">
<select ID="ParagraphStyle" class="tbGeneral" style="width:90;visibility:hidden;" .......
</select>
<select ID="FontName" class="tbGeneral" style="width:140;visibility:hidden;" .............
</select>
<select ID="FontSize" class="tbGeneral" style="width:40;visibility:hidden;"..............
</select>
I wish I could highlight that better, but it seems you can't use the [ color ] tags inside the [ code ] tags on this message board. But anyway, you get the point.
It may not be the most technical method of disabling these buttons, but it works well enough. I've never had any problems with it anyway.[/code]