|
53 | 53 | <element>code</element> |
54 | 54 | <element>charmap</element> |
55 | 55 | <element>fullscreen</element> |
56 | | - <element>hr</element> |
57 | 56 | <element>lists</element> |
58 | 57 | <element>nonbreaking</element> |
59 | | - <element>noneditable</element> |
60 | | - <element>paste</element> |
61 | 58 | <element>searchreplace</element> |
62 | 59 | <element>table</element> |
63 | 60 | <element>visualblocks</element> |
|
67 | 64 | </record> |
68 | 65 |
|
69 | 66 | <!-- See possible values in https://www.tiny.cloud/docs/tinymce/latest/menus-configuration-options/#menubar --> |
70 | | - <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema" |
71 | | - name="plone.menubar" |
72 | | - > |
73 | | - <value purge="true"> |
74 | | - <element>edit</element> |
75 | | - <element>format</element> |
76 | | - <element>insert</element> |
77 | | - <element>table</element> |
78 | | - <element>view</element> |
79 | | - </value> |
80 | | - </record> |
| 67 | +<record interface="plone.base.interfaces.controlpanel.ITinyMCESchema" |
| 68 | + name="plone.menubar"> |
| 69 | + <value purge="true">edit format insert table view</value> |
| 70 | +</record> |
| 71 | + |
81 | 72 |
|
82 | 73 | <!-- See possible values in https://www.tiny.cloud/docs/tinymce/latest/available-menu-items/ --> |
83 | 74 | <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema" |
84 | | - name="plone.menu" |
85 | | - > |
86 | | - <value purge="true"> |
87 | | - { |
88 | | - "file": { |
89 | | - "title": "File", |
90 | | - "items": "" |
91 | | - }, |
92 | | - "tools": { |
93 | | - "title": "Tools", |
94 | | - "items": "" |
95 | | - }, |
96 | | - "table": { |
97 | | - "title": "Table", |
98 | | - "items": "" |
99 | | - }, |
100 | | - "edit": { |
101 | | - "title": "Edit", |
102 | | - "items": "undo redo | cut copy paste | searchreplace selectall" |
103 | | - }, |
104 | | - "format": { |
105 | | - "title": "Format", |
106 | | - "items": "" |
107 | | - }, |
108 | | - "insert": { |
109 | | - "title": "Insert", |
110 | | - "items": "hr" |
111 | | - }, |
112 | | - "table": { |
113 | | - "title": "Table", |
114 | | - "items": "inserttable deletetable | cell row column" |
115 | | - }, |
116 | | - "view": { |
117 | | - "title": "View", |
118 | | - "items": "visualblocks preview fullscreen" |
119 | | - } |
120 | | - } |
121 | | - </value> |
122 | | - </record> |
| 75 | + name="plone.menu"> |
| 76 | + <value purge="true"> |
| 77 | + { |
| 78 | + "file": { |
| 79 | + "title": "File", |
| 80 | + "items": "" |
| 81 | + }, |
| 82 | + "tools": { |
| 83 | + "title": "Tools", |
| 84 | + "items": "" |
| 85 | + }, |
| 86 | + "edit": { |
| 87 | + "title": "Edit", |
| 88 | + "items": "undo redo | selectall | searchreplace" |
| 89 | + }, |
| 90 | + "format": { |
| 91 | + "title": "Format", |
| 92 | + "items": "" |
| 93 | + }, |
| 94 | + "insert": { |
| 95 | + "title": "Insert", |
| 96 | + "items": "charmap nonbreaking" |
| 97 | + }, |
| 98 | + "table": { |
| 99 | + "title": "Table", |
| 100 | + "items": "inserttable deletetable | cell row column" |
| 101 | + }, |
| 102 | + "view": { |
| 103 | + "title": "View", |
| 104 | + "items": "visualblocks preview fullscreen" |
| 105 | + } |
| 106 | + } |
| 107 | + </value> |
| 108 | +</record> |
123 | 109 |
|
124 | | - <!-- See possible values in https://www.tiny.cloud/docs/tinymce/latest/available-toolbar-buttons/ --> |
125 | | - <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema" |
126 | | - name="plone.toolbar" |
127 | | - > |
128 | | - <value>undo redo | styleselect | bold italic superscript | bullist numlist | nonbreaking | plonelink unlink | fullscreen</value> |
129 | | - </record> |
| 110 | +<!-- Toolbar OK (garde nonbreaking ; plus de paste) --> |
| 111 | +<record interface="plone.base.interfaces.controlpanel.ITinyMCESchema" |
| 112 | + name="plone.toolbar"> |
| 113 | + <value>undo redo | styleselect | bold italic superscript | bullist numlist | nonbreaking | plonelink unlink | fullscreen</value> |
| 114 | +</record> |
130 | 115 |
|
131 | 116 |
|
132 | 117 | <!-- See paste_as_text options in https://www.tiny.cloud/docs/tinymce/latest/copy-and-paste/#paste_as_text --> |
133 | 118 | <!-- See style_formats options in https://www.tiny.cloud/docs/tinymce/latest/user-formatting-options/#style_formats --> |
134 | 119 | <!-- See default table options in https://www.tiny.cloud/docs/tinymce/latest/table-options/ --> |
135 | 120 | <!-- See plugin table options in https://www.tiny.cloud/docs/tinymce/latest/table/ --> |
136 | | - <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema" |
137 | | - name="plone.other_settings" |
138 | | - > |
139 | | - <value> |
140 | | - { |
141 | | - "paste_as_text": true, |
142 | | - "style_formats": [ |
143 | | - { |
144 | | - "block": "p", |
145 | | - "title": "Paragraphe" |
146 | | - }, |
147 | | - { |
148 | | - "block": "h2", |
149 | | - "title": "Titre 2" |
150 | | - }, |
151 | | - { |
152 | | - "block": "h3", |
153 | | - "title": "Titre 3" |
154 | | - }, |
155 | | - { |
156 | | - "block": "h4", |
157 | | - "title": "Titre 4" |
158 | | - }, |
159 | | - { |
160 | | - "block": "mark", |
161 | | - "title": "Mise en évidence" |
162 | | - }, |
163 | | - { |
164 | | - "block": "blockquote", |
165 | | - "title": "Citation" |
166 | | - } |
167 | | - ] |
168 | | - } |
169 | | - </value> |
170 | | - </record> |
| 121 | +<record interface="plone.base.interfaces.controlpanel.ITinyMCESchema" |
| 122 | + name="plone.other_settings"> |
| 123 | + <value> |
| 124 | + { |
| 125 | + "paste_as_text": true, |
| 126 | + "style_formats": [ |
| 127 | + { "block": "p", "title": "Paragraphe" }, |
| 128 | + { "block": "h2", "title": "Titre 2" }, |
| 129 | + { "block": "h3", "title": "Titre 3" }, |
| 130 | + { "block": "h4", "title": "Titre 4" }, |
| 131 | + { "block": "mark", "title": "Mise en évidence" }, |
| 132 | + { "block": "blockquote", "title": "Citation" } |
| 133 | + ] |
| 134 | + } |
| 135 | + </value> |
| 136 | +</record> |
171 | 137 |
|
172 | 138 | </registry> |
0 commit comments