Skip to content

Commit

Permalink
Field icon
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Feb 2, 2024
1 parent 105362d commit 5f52e0e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Field.php
Expand Up @@ -230,6 +230,14 @@ public static function displayName(): string
return Craft::t('redactor', 'Redactor');
}

/**
* @inheritdoc
*/
public static function icon(): string
{
return '@craft/redactor/icon-mask.svg';
}

/**
* Registers a Redactor plugin's JS & CSS files.
*
Expand Down
4 changes: 4 additions & 0 deletions src/icon-mask.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5f52e0e

Please sign in to comment.