Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
c48652e
Add block.json and index.js.
ryanwelcher Aug 15, 2025
dce30d4
Update navigation block to allow the core/icon button.
ryanwelcher Aug 15, 2025
32dff7c
Update registration and remove filters from the index file.
ryanwelcher Aug 15, 2025
f9e8cc2
Initial js files commit with linting fixes.
ryanwelcher Aug 15, 2025
d489478
Add CSS files
ryanwelcher Aug 15, 2025
e5b3a2c
Add icon block css to package.
ryanwelcher Aug 15, 2025
5fcbfb0
Fix some issues with refactoring away the use of isEmpty.
ryanwelcher Aug 15, 2025
9a62df0
Start with the icon set defined in #16484
ryanwelcher Aug 15, 2025
cfa3595
Disable custom svg icons via the filter default.
ryanwelcher Aug 15, 2025
fcc9ec0
Merge branch 'trunk' into feature/add-icon-block
ryanwelcher Aug 22, 2025
aa9c2d7
Change index.scss to style.scss to match pattern of other blocks.
ryanwelcher Aug 22, 2025
3fd0e6d
Remove social icons directory as they are not being added for initial…
ryanwelcher Aug 22, 2025
630eb4e
Remove sparkles icon.
ryanwelcher Aug 22, 2025
f569ad8
Fix html-reacti-parser versioning.
ryanwelcher Aug 22, 2025
b0c7938
Merge branch 'trunk' into feature/add-icon-block
ryanwelcher Aug 26, 2025
fbf6d01
Update dependencies to include html-react-parser
ryanwelcher Aug 26, 2025
2dcecbd
Add schema to block.json
ryanwelcher Aug 26, 2025
7335df1
Add basic fixture for icon block.
ryanwelcher Aug 26, 2025
2cdef13
Merge branch 'trunk' into feature/add-icon-block
ryanwelcher Sep 4, 2025
389ba25
Remove withIllustration prop and related className from Placeholder.
ryanwelcher Sep 4, 2025
d6c452f
Merge branch 'trunk' into feature/add-icon-block
ryanwelcher Sep 10, 2025
71f632b
Decouple the saved icon from the @wordpress/icons library and display…
ryanwelcher Sep 11, 2025
e4d018d
Fix displaying custom SVG in the editor.
ryanwelcher Sep 11, 2025
db8d14a
Remove some empty categories from the list.
ryanwelcher Sep 11, 2025
f9e3511
Adjust the spacing between the custom SVG buttons based on A11y audit.
ryanwelcher Sep 11, 2025
7406f9f
Merge branch 'trunk' into feature/add-icon-block
ryanwelcher Sep 12, 2025
c82846d
Removing rotate, flipHor, flipVert, and percentWidth attributes and r…
ryanwelcher Sep 18, 2025
69a33cc
Remove itemsJustification attribute and related controls.
ryanwelcher Sep 18, 2025
e232e2b
Remove iconColor and iconColorValue attributes and related controls.
ryanwelcher Sep 18, 2025
7bcf763
Remove remaining color based attributes and related controls.
ryanwelcher Sep 18, 2025
f672cd1
Don't show the link rel if there is not a link defined.
ryanwelcher Sep 18, 2025
671c1b7
Merge branch 'trunk' into feature/add-icon-block
ryanwelcher Sep 25, 2025
1ed0c36
Merge branch 'trunk' into feature/add-icon-block
ryanwelcher Oct 2, 2025
6e708af
Remove the link control.
ryanwelcher Oct 2, 2025
3692eb0
Remove width and height attributes.
ryanwelcher Oct 2, 2025
d4bd2c3
Merge branch 'trunk' into feature/add-icon-block
ryanwelcher Oct 9, 2025
92c99ae
Update packages/block-library/src/icon/icons/index.js
ryanwelcher Oct 9, 2025
21bf61a
Update packages/block-library/src/icon/components/index.js
ryanwelcher Oct 9, 2025
3c8668e
Update packages/block-library/src/icon/block.json
ryanwelcher Oct 9, 2025
86e4aa7
Update packages/block-library/src/icon/components/icon-dropzone/index.js
ryanwelcher Oct 9, 2025
894ba52
Update packages/block-library/src/icon/components/custom-inserter/ind…
ryanwelcher Oct 9, 2025
dd8fcb3
Update packages/block-library/src/icon/components/custom-inserter/ind…
ryanwelcher Oct 9, 2025
38bdee0
Merge branch 'feature/add-icon-block' of github.com:WordPress/gutenbe…
ryanwelcher Oct 9, 2025
da41165
Add cautionFilled to the imports.
ryanwelcher Oct 9, 2025
caf1377
Remove the need for an inner wrapper. Move all styles and classes to …
ryanwelcher Oct 9, 2025
8387ecd
Clean up css to remove outer div and rotation/flip rules.
ryanwelcher Oct 9, 2025
6159196
Remove the icon-container class from edit. Remove more unused styles.
ryanwelcher Oct 9, 2025
0bae3ba
Change selector to root class icon attribute. Remove edit icon that w…
ryanwelcher Oct 9, 2025
456c1a2
Remove ariaLabel true until I know how it works.
ryanwelcher Oct 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add schema to block.json
  • Loading branch information
ryanwelcher committed Aug 26, 2025
commit 2dcecbd512a9f868603d562a8a51c10fa04bd3d5
1 change: 1 addition & 0 deletions packages/block-library/src/icon/block.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"name": "core/icon",
"title": "Icon",
"category": "media",
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/icon/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function Edit( props ) {
// Allow users to disable custom SVG icons.
const enableCustomIcons = applyFilters(
'iconBlock.enableCustomIcons',
false
true
);

const isContentOnlyMode = useBlockEditingMode() === 'contentOnly';
Expand Down