Closed bobbingwide closed 2 years ago
Some of the SVG icons used for blocks no longer match the original dash icon.
If we want to use [bw_dash] to display these the code will need to be updated.
And because the SVG is more complex the logic to display the icons will need improving to cater for more than just the <path d=
parameter.
First example is the archive icon.
Couple of things.
Proposal
core/archive
as if it were font=core
. ( or class=core
? )core
and include all the icons in the core blocks.Having created a separate block to display Block icons, I can now undo the changes to the SVG version of the archive icon. We'll keep the size at 24 pixels.
There are probably some new dashicons that we should be able to display
There are probably some new dashicons that we should be able to display
Yes there are. These were not included in v1.34.0 I’ll leave the issue open.
There are probably some new dashicons that we should be able to display
Having reworked the [bw_dash]
shortcode to use the new list of SVG's available in WordPress's dash icons, icons and social links there are now over 600 SVG icons that can potentially be displayed. This is in addition to the Block icons!
The logic does not yet support the display of these SVG icons. See also #46
I need to complete the documentation update for the 70 or so new icons in the dashicons set. And mention the 280 or so WordPress icons. Note: This excludes the Social links icons which aren't yet supported by the Icon control.
Closing this now that the Dashicon block supports over 580 SVG icons; some dashicons, others WordPress/Gutenberg icons. Delivered in v2.2.1
There may be a new editor in WordPress 5.0 that will use a number of different "dashicons" that are implemented using SVG rather than being part of the dashicons font.
Requirement
Future requirement