Изменения документа VelocityMacros

Редактировал(а) Dmitriy Rybakov 20.06.2025 11:29

От версии 2.1
отредактировано Dmitriy Rybakov
на 20.06.2025 11:29
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/16.10.8]
К версии 1.1
отредактировано superadmin
на 27.05.2025 04:11
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/15.10.12]

Сводка

Подробности

Свойства страницы
Автор документа
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.rybakovds
1 +XWiki.superadmin
Содержимое
... ... @@ -168,12 +168,6 @@
168 168   #if ($source.restricted == 'true' && !$services.security.authorization.hasAccess('edit', $source.documentReference))
169 169   #set ($parameters.attributes.data-upload-disabled = 'true')
170 170   #end
171 - ## We use the velocity template context to convey the startupFocus parameter to CKEditor.
172 - #if ($wysiwygEditorConfig.startupFocus)
173 - #set ($parameters.attributes.data-startup-focus = 'true')
174 - ## We make sure to clear this context so that it doesn't interfere with CKEditors opened later.
175 - #set ($wysiwygEditorConfig.startupFocus = false)
176 - #end
177 177   ##
178 178   <textarea
179 179   #foreach ($entry in $parameters.attributes.entrySet())
... ... @@ -186,7 +186,7 @@
186 186  
187 187  #macro (displayCKEditorConfigProperty $configDoc $propName $action)
188 188   <dt>
189 - <label for="CKEditor.ConfigClass_$escapetool.xml($configDoc.getObject("CKEditor.ConfigClass").getNumber())_${propName}">$configDoc.displayPrettyName($propName)</label>
183 + <label>$configDoc.displayPrettyName($propName)</label>
190 190   <span class="xHint">$escapetool.xml($services.localization.render("CKEditor.ConfigClass_${propName}.hint"))</span>
191 191   </dt>
192 192   <dd>#displayCKEditorConfigPropertyValue($configDoc $propName $action)</dd>