Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf 2 Richfaces 4:如何更改a<;的功能区选项;里奇:编辑>;_Jsf 2_Ckeditor_Richfaces_Rich Text Editor - Fatal编程技术网

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的可用配置:

此链接具有所有必要的配置