The stylesheet is mightier…

The stylesheet is mightier than the DOM!

Working on a new style for the default theme for TinyMCE to make it more in keeping with the new UI we are implementing through out Moodle, and I have discovered why so few TinyMCE implementations deviate from the normal theme – the HTML is a nightmare to work with. I’ve seen bad code. Hell, I’ve written bad code. But this, this is worse. I have never had to deal with something this bad.

I can’t modify the DOM though, so I have to find some way around it. This is gonna be a long project.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.