Skip to content

Change Icon block category to media (#3)#15

Closed
fumikito wants to merge 1 commit into
masterfrom
fix/3-block-category-media
Closed

Change Icon block category to media (#3)#15
fumikito wants to merge 1 commit into
masterfrom
fix/3-block-category-media

Conversation

@fumikito

Copy link
Copy Markdown
Contributor

概要

Closes #3

Icon ブロックのカテゴリを common から media に変更します。

背景

common カテゴリは WordPress 5.5(Gutenberg #19279)でブロックカテゴリが再編された際に廃止され、common のブロックは現在 text に表示されてしまいます。Icon ブロックの性質上、text より media が適切です。

変更内容

  • assets/js/icon-block.js(ソース): category: 'common''media'
  • dist/js/icon-block.js(ビルド済み配布物): category:"common"category:"media"

補足

ビルドツールチェーンの近代化(#12)が未完のため gulp ビルドは回さず、配布物の該当トークン(一意)のみを同一内容で手修正しています。差分は文字列リテラル1箇所のみで、挙動への影響はカテゴリ表示位置の変更だけです。

Co-authored-by: Claude <noreply@anthropic.com>
@fumikito

Copy link
Copy Markdown
Contributor Author

Superseded by #16 (PR for #12). The category change (commonmedia) is folded into #16, which also moves the source to src/js/ and removes dist/, so the changes here would conflict. Closing in favor of #16.

@fumikito fumikito closed this Jun 10, 2026
@fumikito fumikito deleted the fix/3-block-category-media branch June 10, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change Icon block category to media

1 participant