legacy-knowledge-base
公開されました Jul. 2, 2025

フラグメント等にアンカーリンクを設定する方法について

written-by

Hamasaki Yutaro

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • 見出しとして作成したフラグメントにアンカーリンクをセットすることは可能でしょうか。
    また、UI上で指定できるでしょうか。

環境

  • DXP7.0 +

解決

  • フラグメントの場合、HTMLを編集することでアンカーポイントを設定することが可能です。
    他の例として、Webコンテンツでは特定のアンカー要素へのリンクをUI上で指定する操作が可能です。(添付画像: アンカー要素へのリンク指定例 #id)

ToAnchor.png

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base