tomdavies / expressionengine2.sugar

An espresso sugar for ExpressionEngine 2.x
21 stars 3 forks source link

Fairly extensive update #6

Open onecrayon opened 9 years ago

onecrayon commented 9 years ago

Hey Tom,

A user was having trouble with the EE2.sugar and wrote in to us, and since I had some free time today I went through it and made some updates to remove old cruft that wasn't doing any good anymore, get the TextActions working again, and remove conflicts between it and the HTML itemizers and syntax coloring.

Do note that I completely rewrote the placeholder theme. Placeholder themes should generally match the Espresso default theme; if you want to include coloring for a third-party Sugar in a custom theme, then that theme should override the placeholder and define its own colors. This is now possible (since the placeholder before had two IDs, which isn't the way it should work), and a lot simpler because I streamlined the selectors the theme is using. However, it is a fairly big change to the Sugar itself, and might make things look "broken" until you update whatever custom theme(s) you are using in conjunction with the Sugar.

Feel free to keep my changes or not as you see fit! I tried to keep things separated out into separate commits to make them easy to pull in or leave out.

Ian