Jsf 2 Richfaces 4:如何更改a<;的功能区选项;里奇:编辑>;
我正在应用程序中使用Jsf 2 Richfaces 4:如何更改a<;的功能区选项;里奇:编辑>;,jsf-2,ckeditor,richfaces,rich-text-editor,Jsf 2,Ckeditor,Richfaces,Rich Text Editor,我正在应用程序中使用,我需要自定义编辑器的功能区选项(我只希望有一些选项,而忽略其他选项)。有人知道我在哪里可以得到所有可能的配置值吗 以下是我到目前为止所做的尝试 <f:facet name="config"> toolbar: 'custom', language: '#{editorBean.language}', startupFocus: true,
,我需要自定义编辑器的功能区选项(我只希望有一些选项,而忽略其他选项)。有人知道我在哪里可以得到所有可能的配置值吗
以下是我到目前为止所做的尝试
<f:facet name="config">
toolbar: 'custom',
language: '#{editorBean.language}',
startupFocus: true,
toolbar_custom:
[
{ name: 'basicstyles', items : ['Bold','Italic'] },
{ name: 'clipboard', items : [ 'Paste','PasteFromWord'] },
{ name: 'basicstyles', items : ['Underline'] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent'] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent'] },
]
</f:facet>
工具栏:“自定义”,
语言:“{editorBean.language}”,
startupFocus:没错,
自定义工具栏:
[
{name:'basicstyles',项:['Bold','Italic']},
{name:'clipboard',项:['Paste','PasteFromWord']},
{name:'basicstyles',项:['Underline']},
{name:'段落',项目:['NumberedList','BulletedList','-','Outdent','Indent'],
{name:'段落',项目:['NumberedList','BulletedList','-','Outdent','Indent'],
]
来自richfaces文档:
您可以在此处看到来自CKEditor API的可用配置:
此链接具有所有必要的配置