Add editor dropdown button for shortcodes

This commit is contained in:
Brian Miyaji
2014-07-11 09:47:20 +10:00
parent 7562fbfa20
commit da3bf43787
7 changed files with 223 additions and 15 deletions

View File

@@ -72,4 +72,30 @@
font-family: sportspress, dashicons !important;
width: 20px;
text-align: center;
}
.wp-media-buttons .add_sportspress span.wp-media-buttons-icon:before {
font: normal 20px/1 sportspress, dashicons;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
content: '\f111';
}
i.mce-i-sp_shortcodes_button:before, span.mce_sp_shortcodes_button:before {
font-family: 'sportspress';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
content: "\f111";
font-size: 20px;
}