legacy-knowledge-base
公開されました Jun. 30, 2025

CKEditorでのアンカーの使い方

written-by

Cristina Rodriguez

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

問題

  • コンテンツにアンカーを利用したい

環境

  • Liferay 7,3、7.4、四半期リリース

解像度

  • コンテンツでアンカーを使用できるようにするには、以下の手順を踏む必要があります:

    • 構造体にリッチ・テキスト・フィールドを追加する。
    • リンクオプションをクリックし、'を選択します。テキスト内のアンカーへのリンク'を選択します。
    • 表示テキスト」を入力し、「OK」をクリックします:



    • エディターで、<> Source Optionをクリックし、アンカーコードを編集して、例えば既存の要素への参照を追加します:
      <p><a name="my_anchor">My anchor</a></p>


追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base