[enhancement] use class instead of id for styling the toolbar

Thanks for this great editors!

It would be nice if the toolbar would use class instead of id for styling. This is usefull for having more than one toolbar on one page. For this to work it's just two steps:

  • replace all #textiletoolbar by .textiletoolbar in the css
  • add this line to the html:
YOURTOOLBAR.toolbar.toolbar.addClassName('textile_toolbar');

And the same for markdown respectivly.

Please keep up the good work, regards, Niko.

Posted June 2nd, 2007 at 6:50am by niko

Login or Register to Post