editor.svg
.editor-block-list-item-create-block-BLOCK-NAME
{
.block-editor-block-types-list__item-icon{
background: url('../../assets/images/block-icon.svg') no-repeat;
height: 24px;
width: 24px;
display: block;
margin: auto;
padding: 0;
.block-editor-block-icon.has-colors{
.dashicon.dashicons.dashicons-smiley{
&::before{
content: '';
}
}
}
}
}
Leave a Reply