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

ブログ ポートレットの一部の CKEditor ボタン機能が欠落しています。

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.

問題

  • ブログ ポートレットに CKEditor を使用すると、ツールバーにフォント サイズ、上付き文字、および下付き文字のボタンが表示されません。

  • 再現する手順

    • portal-ext.properties ファイルで、次のプロパティを追加します。

      • editor.wysiwyg.default=ckeditor
        editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor
        editor.wysiwyg.portal-web.docroot.html.portlet.announcements.edit_entry.jsp=ckeditor
        editor.wysiwyg.portal-web.docroot.html.portlet.blogs.edit_entry.jsp=ckeditor
        editor.wysiwyg.portal-web.docroot.html.portlet.mail.edit.jsp=ckeditor
        editor.wysiwyg.portal-web.docroot.html.portlet.mail.edit_message.jsp=ckeditor
        editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.html.jsp=ckeditor
        editor.wysiwyg.portal-web.docroot.html.taglib.ui.discussion.jsp=ckeditor
        editor.wysiwyg.portal-web.docroot.html.taglib.ui.email_notification_settings.jsp=ckeditor
    • Liferay サーバーの起動

    • サイト管理 > コンテンツ & データ > Web コンテンツに移動します。

    • 新しい Web コンテンツを作成する

    • CKEditor に、フォント サイズを変更し、上付き文字/下付き文字を設定するためのボタンがあることを確認します。

    • サイト管理に移動します > コンテンツ & データ > ブログ
      予想される動作: ブログの CKEditor には、フォント サイズを変更し、上付き文字/下付き文字を設定するボタンもあります
      実際の動作: CKEditor にはこれらのボタンがありません。

Environment

  • Liferay DXP 7.2 フィックスパック 8

解決策

  • これは Liferay の意図された動作です。つまり、ブログ ポートレットの CKEditor には、Web コンテンツ ポートレットの CKeditor で使用できるすべてのボタンがありません。
  • ユーザーは、必要なボタンを追加するためにカスタマイズを行うことができます。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base