以下の設定は、雑誌記事ck-editor画面の設定を表しています。 ソースコードのckconfig.jspから。 config.toolbar_liferayArticle = [ ['Styles', 'FontSize', '-', 'TextColor', 'BGColor'], ['Bold', 'Italic', 'Underline', 'Strike'], ['Subscript', 'Superscript'], '/', ['Undo', 'Redo', '-', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'SelectAll', 'RemoveFormat'], ['Find', 'Replace', 'SpellChecker', 'Scayt'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], '/', ['Source'], ['Link', 'Unlink', 'Anchor'], ['Image', 'Flash', <c:if test="<%= XugglerUtil.isEnabled() %>">'Audio', 'Video',</c:if> 'Table', '-', 'Smiley', 'SpecialChar', 'LiferayPageBreak'] ];
あなたはジャーナルの記事のCKEditorバージョンごとに異なる構成設定を持つようにしたいのであれば、あなたはLiferayのプラグインのフックを使用してckconfig.jspでconfig.toolbar_liferayArticleを変更する必要があります。
例えばは config.toolbar_liferayArticle=[ ['Bold', 'Italic', 'Underline', 'Strike'], ['BulletedList'] ];
あなたは、プラグイン・フックを使用してckconfig.jspを修正しましたか? –
はい、結果はありません –
あなたはあなたが試したことと達成したいことについてより多くの情報を提供できますか? –