-
Notifications
You must be signed in to change notification settings - Fork 4
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
ベクトル製以外のテーマでは 編集画面の挙動がおかしいブロックがあるのを修正 #2447
Conversation
…i-ver-3' into fix/block-editor/api-ver-3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
実装者の確認方法と同様に、T9やTT5、Lightiningで対象ブロックを確認し、問題無く動作していました。
また、コードも確認しましたが、問題無いように思います。
二人目の方、確認お願いいたします。
動作の確認をしまして、編集画面で問題なさそうでした。 issue のコメントにコード確認を @drill-lancer さんか @mthaichi さんに見ていただきたいとありましたので、お手隙の際にコードの確認をお願いしても良いでしょうか。 |
@mtdkei |
2人目なのでマージします。 |
チケットへのリンク / 変更の理由(元のissueがあればリンクを貼り付ければOK)
#2446
どういう変更をしたか?
enqueue_block_assets
からvk-components.cssを読みこませるように変更(またfunctionsが2つ以上になったため、共通処理を整理)iframe.contentWindow.document.querySelector()
を使用style.maxWidth
を指定iframe.contentWindow.document
を参照して Swiper を初期化スクリーンショットまたは動画
変更前 Before
投稿リスト

投稿リストスライダー

タブ

目次

スライダー

変更後 After
投稿リスト

投稿リストスライダー

タブ

目次

スライダー

実装者の確認事項
実装者はレビュワーに回す前に以下の事を確認してチェックをつけてください。
プログラムの変更の場合
変更内容について何を確認したか、どういう方法で確認をしたかなど
developでかつX-T9やTT5の時は以下の挙動をしていたブロックがこのブランチでは直っていたことを確認しました。
分割読み込みのON/OFFも確認済みです。
元々developでも問題がなかったLightiningで確認した場合でもこのブランチによる悪影響がないことを確認しました。
レビュワーに回す前の確認事項
レビュワー確認方法・確認内容など
実装者と同じ確認を行ってください。
特に
/inc/vk-blocks/load-vk-components.php
の読み込み周りは複数のfunctionsが入るつくりではなかったのでよろしければコードをみていただけたら嬉しいです。レビュワー向け
レビュワーが確認して変更が反映されていない場合の確認事項
レビューしてみて意図した動作をしない場合は再度ビルドするなど以下の項目を確認してください。