Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ギャラリーブロックの構造変更への対応 #16

Open
t-hamano opened this issue Jan 15, 2022 · 2 comments
Open

ギャラリーブロックの構造変更への対応 #16

t-hamano opened this issue Jan 15, 2022 · 2 comments

Comments

@t-hamano
Copy link
Contributor

t-hamano commented Jan 15, 2022

See: https://github.com/loos/SWELL/issues/48

https://make.wordpress.org/core/2021/08/20/gallery-block-refactor-dev-note/

@t-hamano t-hamano added the WP5.9 label Jan 15, 2022
@t-hamano
Copy link
Contributor Author

テーマ側では、要素のスタイルリセットくらいしかかけていないため、構造が変わる事による影響は無し。

.wp-block-gallery {
.blocks-gallery-grid {
width: 100%;
padding: 0;
list-style: none;
}
// .blocks-gallery-grid,
// .blocks-gallery-item {
// padding: 0;
// }
figure {
margin: 0;
}
}

スタイルはコアに委ねているため、5.9で特別な対応は無しとします。

@ddryo ddryo reopened this Jan 23, 2022
@ddryo
Copy link
Collaborator

ddryo commented Jan 23, 2022

-「角丸」スタイルを1つだけに適用させると、エディター側で他画像のキャプション位置がおかしくなる。

  • Arkhe Blocksから追加している「フレーム」スタイルでも発生する。

スクリーンショット 2022-01-23 15 40 59

テーマ側のバグかどうかはまだ分からないが、TT2では問題なかったのであとでチェック。
エディター側だけ&稀なケースなので、優先度低

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants