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

CKeditorでテキストフォーマットが削除されない

written-by

Balázs Létai

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

問題

  • CKeditorで、テキストを編集する際に、見出し以外の (例:Cited Work)を選択し、それをNormalに戻そうとすると、ソースビューに移行した際に、そのスタイルが残り、そのタグを見ることができる。
  • CKEditorには、フォーマットタグを追加する スタイル ドロップダウンメニューがありますが、他のスタイルオプションを選択してもタグは削除されません。 そのため、複数のタグを重ねることになり、エンドユーザーが混乱する可能性があります。

Environment

  • Liferay DXP 7.0+

解決策

  • スタイルを削除するには、それが適用されているテキストを再選択し、以前に選択したスタイルの選択を解除する必要があります。 添付の動画をご覧ください。
  • 機能要望を公開しました: LPS-151539. 投票することで、製品チームの注意を喚起することができます。
did-this-article-resolve-your-issue

legacy-knowledge-base