[wp-hackers] Editor button cusotmizations

Rob r at robm.me.uk
Thu Apr 12 02:08:12 GMT 2007

On 12/04/07, Elliotte Harold <elharo at metalab.unc.edu> wrote:
> Austin Matzko wrote:
> > On 4/11/07, Elliotte Harold <elharo at metalab.unc.edu> wrote:
> >> It's very weird that this is all done with JavaScript. It's not clear
> >> why this couldn't be simple HTML.
> >
> > You need the JavaScript to change the text in the textarea.
> >
> It needs JavaScript when the button is pressed, yes, but why are the
> buttons created with JavaScript? Why can't the buttons be created with
> plain old HTML?

At a guess, it's so that users with JavaScript turned off aren't
presented with a load of buttons with no functionality.


Rob Miller
Senior Programmer

email - rob at graphics.net
web - http://www.graphics.net/ | http://robm.me.uk/

More information about the wp-hackers mailing list