Can I Edit The Wordpress mceToolbar?

by kah22
0 replies
  • WEB DESIGN
  • |
Using Firebug I extracted the adsense code as it appears on my computer and inserted it into my custom style sheet so that when I was listing competitions I could blend in my text with the adsense text. The listing of each contest takes up about five lines and could be made to resemble adsense ads

Anyway here is just a small snippet of the code but more particularly the classes attached to it.

DIV.competitions
{
font-family: arial,sans-serif;
color: #008000;
font-size: 15px;
and so on......
}
and

DIV.competitionsbody
{
Font-family: arial,sans-serif;
Font-size: 15px;
Font-weight: 400;
Font-style: Normal;
Color: #000000;
and so on.....
}
My code is working as expected.

Now I'm wondering whether or not I can alter the Wordpress mceToolbar so that I can work in visual mode rather than in html mode. I'm wondering for example if I can place a shortcut button on the Toolbar so that if I select text and click on it that class would be selected.

It had crossed my mind that perhaps the 'Format' box could be edited to include the likes of personal classes as well as your standard paragraph and 'H' tags.

Is it doable?

One quick question:
In 'competitions' I want to make my header H3 but I don't know the proper coding, how's it written?
#edit #mcetoolbar #wordpress

Trending Topics