2016-06-02 6 views
0

저널 기사의 liferay 6.2에서 ckeditor의 기능을 제한해야합니다. 나는 새로운 툴바로 ckconfig.jsp을 오버라이드하는 후크와 같은 다른 접근법을 시도했다. (내 다른 질문은 herehere을 참조한다.) 그러나 작동하지 않았다. 이제는 내 portal-ext.properties에서 다른 포틀릿에 대해 다른 편집기를 정의하여 작동하는 또 다른 방법을 발견했습니다.Liferay 6.2 wysiwyg portal-ext.properties의 편집기 변경 사항이 작동하지 않습니다.

editor.wysiwyg.default=tinymce 
editor.wysiwyg.portal-web.docroot.html.portlet.blogs.edit_entry.jsp=ckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.calendar.edit_configuration.jsp=ckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.enterprise_admin.view.jsp=ckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.invitation.edit_configuration.jsp=ckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_article_content.jsp=fckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_article_content_xsd_el.jsp=fckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_configuration.jsp=fckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.login.configuration.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_configuration.jsp=ckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.shopping.edit_configuration.jsp=ckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.wiki.edit.html.jsp=ckeditor 

그러나, 항상 촬영되는 기본 편집기입니다 및 다른 모든 설정은 무시하는 것 같다 :

내가 portal-ext.properties 파일에 추가 라인입니다. 이 버그입니까? 아니면 여기에 뭔가 빠졌습니까?

editor.wysiwyg.default=을 사용하여 기본 편집기를 생략했지만 기사를 추가하거나 편집 할 때 편집기가 나타나지 않습니다.

누군가가이 문제를 해결할 수 있습니까?

답변

0

최근에 liferay-portal-6.2-ce-ga4 설치의 portal-ext.properties에 이러한 설정을 추가하고 그에 따라 편집기를 변경했습니다. 그래서, 적어도 여기에 아마 더 버그 :

editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.configuration.jsp=ckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.bb_code.jsp=ckeditor 
editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.html.jsp=ckeditor 

나는 portal-ext.properties에 editor.wysiwyg.default=...를 추가하지 않았다.

+0

답변을 주셔서 감사하지만 그 중 하나를 작동하지 않았다. –