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

画像列のaタグにclassを設定してほしい #1548

Open
u102 opened this issue Jan 5, 2025 · 0 comments
Open

画像列のaタグにclassを設定してほしい #1548

u102 opened this issue Jan 5, 2025 · 0 comments
Labels
enhancement New feature or request - 新機能・要望

Comments

@u102
Copy link

u102 commented Jan 5, 2025

ビューや詳細画面において、画像列部分のコードへ何らかのclassを付与していただきたいです。
現状の出力されたコードは以下のような状態です。

<a href="https://<exment uri>/admin/files/<file uuid>" target="_blank">
<img src="https://<exment uri>/admin/files/<file uuid>" class="mw-100 image_html" />
</a>

こちらを次のようなコードへ修正いただけると大変助かります。
※class名は例で、画像と識別できる文字列であれば良いと考えています。

<a href="https://<exment uri>/admin/files/<file uuid>" target="_blank" class="image-link">
<img src="https://<exment uri>/admin/files/<file uuid>" class="mw-100 image_html" />
</a>

最終的にはLightboxのように画像をモーダルダイアログへポップアップ表示させたいです。
プラグイン開発時にclass名が予め付与された状態だと大変助かります。
ご検討よろしくお願いします。

@u102 u102 added the enhancement New feature or request - 新機能・要望 label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request - 新機能・要望
Projects
None yet
Development

No branches or pull requests

1 participant