Skip to content

Commit 9d9d861

Browse files
committed
XWIKI-20590: Improved CKEditor visibility management
1 parent 79e1284 commit 9d9d861

File tree

1 file changed

+123
-0
lines changed
  • xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor

1 file changed

+123
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<?xml version="1.1" encoding="UTF-8"?>
2+
3+
<!--
4+
* See the NOTICE file distributed with this work for additional
5+
* information regarding copyright ownership.
6+
*
7+
* This is free software; you can redistribute it and/or modify it
8+
* under the terms of the GNU Lesser General Public License as
9+
* published by the Free Software Foundation; either version 2.1 of
10+
* the License, or (at your option) any later version.
11+
*
12+
* This software is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
* Lesser General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU Lesser General Public
18+
* License along with this software; if not, write to the Free
19+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21+
-->
22+
23+
<xwikidoc version="1.5" reference="CKEditor.WebPreferences" locale="">
24+
<web>CKEditor</web>
25+
<name>WebPreferences</name>
26+
<language/>
27+
<defaultLanguage/>
28+
<translation>0</translation>
29+
<creator>xwiki:XWiki.Admin</creator>
30+
<parent>CKEditor.WebHome</parent>
31+
<author>xwiki:XWiki.Admin</author>
32+
<contentAuthor>xwiki:XWiki.Admin</contentAuthor>
33+
<version>1.1</version>
34+
<title>$services.localization.render('admin.preferences.title')</title>
35+
<comment/>
36+
<minorEdit>false</minorEdit>
37+
<syntaxId>xwiki/2.1</syntaxId>
38+
<hidden>true</hidden>
39+
<content/>
40+
<object>
41+
<name>CKEditor.WebPreferences</name>
42+
<number>0</number>
43+
<className>XWiki.XWikiGlobalRights</className>
44+
<guid>71ae5d9d-eb05-41e1-9794-8011646619ed</guid>
45+
<class>
46+
<name>XWiki.XWikiGlobalRights</name>
47+
<customClass/>
48+
<customMapping/>
49+
<defaultViewSheet/>
50+
<defaultEditSheet/>
51+
<defaultWeb/>
52+
<nameField/>
53+
<validationScript/>
54+
<allow>
55+
<defaultValue>1</defaultValue>
56+
<disabled>0</disabled>
57+
<displayFormType>select</displayFormType>
58+
<displayType>allow</displayType>
59+
<name>allow</name>
60+
<number>4</number>
61+
<prettyName>Allow/Deny</prettyName>
62+
<unmodifiable>0</unmodifiable>
63+
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
64+
</allow>
65+
<groups>
66+
<cache>0</cache>
67+
<disabled>0</disabled>
68+
<displayType>input</displayType>
69+
<multiSelect>1</multiSelect>
70+
<name>groups</name>
71+
<number>1</number>
72+
<picker>1</picker>
73+
<prettyName>Groups</prettyName>
74+
<relationalStorage>0</relationalStorage>
75+
<separator> </separator>
76+
<size>5</size>
77+
<unmodifiable>0</unmodifiable>
78+
<classType>com.xpn.xwiki.objects.classes.GroupsClass</classType>
79+
</groups>
80+
<levels>
81+
<cache>0</cache>
82+
<disabled>0</disabled>
83+
<displayType>select</displayType>
84+
<multiSelect>1</multiSelect>
85+
<name>levels</name>
86+
<number>2</number>
87+
<prettyName>Levels</prettyName>
88+
<relationalStorage>0</relationalStorage>
89+
<separator> </separator>
90+
<size>3</size>
91+
<unmodifiable>0</unmodifiable>
92+
<classType>com.xpn.xwiki.objects.classes.LevelsClass</classType>
93+
</levels>
94+
<users>
95+
<cache>0</cache>
96+
<disabled>0</disabled>
97+
<displayType>input</displayType>
98+
<multiSelect>1</multiSelect>
99+
<name>users</name>
100+
<number>3</number>
101+
<picker>1</picker>
102+
<prettyName>Users</prettyName>
103+
<relationalStorage>0</relationalStorage>
104+
<separator> </separator>
105+
<size>5</size>
106+
<unmodifiable>0</unmodifiable>
107+
<classType>com.xpn.xwiki.objects.classes.UsersClass</classType>
108+
</users>
109+
</class>
110+
<property>
111+
<allow>1</allow>
112+
</property>
113+
<property>
114+
<groups>XWiki.XWikiAdminGroup</groups>
115+
</property>
116+
<property>
117+
<levels>edit,delete</levels>
118+
</property>
119+
<property>
120+
<users/>
121+
</property>
122+
</object>
123+
</xwikidoc>

0 commit comments

Comments
 (0)