How to add Glyphicons to SmartButtons
The Glyphicon assigned to prototypes has now been extracted from the template and given its own attribute, $blogGlyph
, for easy modification. This means you can change the SmartButton Glyphicon either for the prototype or for individual notes.
By default, SmartButtons for normal-notes show no Glyphicon. To change this, just add one—enter the (abbreviated) name of the Glyphicon in the $blogGlyph
key attribute (run the stamp first).
I’ve given the current note four dummy children and given them Glyphicons. You should see them export near the bottom of this webpage.
You can view the full array of available Glyphicons here.