我需要在 liferay 6.2 中为期刊文章限制 ckeditor 的功能。ckconfig.jsp
我尝试了不同的方法,例如使用新工具栏覆盖的钩子(请参阅我的其他问题here和here),但这不起作用。现在我找到了另一种方法,可以通过在我的portal-ext.properties
.
这些是我添加到 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
但是,似乎始终采用默认编辑器,并且忽略所有其他设置。这是一个错误还是我在这里遗漏了什么?
我还尝试通过使用省略默认编辑器,editor.wysiwyg.default=
但是当我想添加或编辑文章时没有编辑器出现。
有人可以帮我解决这个问题吗?