저널 기사의 liferay 6.2에서 ckeditor의 기능을 제한해야합니다. 나는 새로운 툴바로 ckconfig.jsp
을 오버라이드하는 후크와 같은 다른 접근법을 시도했다. (내 다른 질문은 here과 here을 참조한다.) 그러나 작동하지 않았다. 이제는 내 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=
을 사용하여 기본 편집기를 생략했지만 기사를 추가하거나 편집 할 때 편집기가 나타나지 않습니다.
누군가가이 문제를 해결할 수 있습니까?
답변을 주셔서 감사하지만 그 중 하나를 작동하지 않았다. –