Legacy Knowledge Base
公開されました Jul. 2, 2025

HTML タグは、コンテンツ エディターでコンテンツを編集するときにエディターによって追加されます。

Written By

Kanchan Bisht

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • コンテンツ エディターでコンテンツを編集すると、エディターによって HTML タグが追加されます。
  • 再現手順:
    1. Liferay Admin
    2 として Liferay 7.1 にログインします。 コントロール パネル -> お知らせとアラート
    3 に移動します。 クリック -> タイトルを入力
    4. 内容について -> コードビューを選択 </> -> プレーンテキストを入力
    5. 配布範囲の選択 -> [保存] ボタンをクリックします
    6. ここでコンテンツを編集します -> コード ビューを選択します </> -> HTML タグとテキストに注意してください
    予想される動作: HTML タグ </> コンテンツの編集時に表示されません
    観察された動作: HTML タグ </> が表示されますコンテンツ編集時

Environment

  • Liferay DXP 7.1

解決策

  • 観察された動作は、CKEditor で意図された推奨動作です。 すべての新しいブロックは <p> タグの間に配置されます。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base