Modifications pour le document ImageEditorService
Modifié par Florent Charton le 2026/03/13 11:04
Depuis la version 3.1
modifié par Florent Charton
sur 2024/08/08 18:44
sur 2024/08/08 18:44
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/15.10.11]
À la version 2.1
modifié par Florent Charton
sur 2022/06/28 18:01
sur 2022/06/28 18:01
Commentaire de modification :
Install extension [org.xwiki.contrib:application-ckeditor-ui/1.64.2]
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
-
Objets (1 modifications, 0 ajouts, 1 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -113,9 +113,6 @@ 113 113 $services.icon.renderHTML('unlock') 114 114 </button> 115 115 </dd> 116 - <dd class='hidden has-warning'> 117 - <span class="help-block outscaleWarning"></span> 118 - </dd> 119 119 <dt> 120 120 <label for="imageBorder"> 121 121 $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.border.label')) ... ... @@ -135,22 +135,22 @@ 135 135 $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.hint')) 136 136 </span> 137 137 </dt> 138 - <dd class="alignments">135 + <dd> 139 139 <label> 140 - #set ($noneOptionLabel= $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.option.none')))141 - <inputtype="radio"name="alignment" value="none"/>$noneOptionLabel137 + <input type="radio" name="alignment" value="none"/> 138 + $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.option.none')) 142 142 </label> 143 143 <label> 144 - #set($startOptionLabel=$escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.option.start')))145 - <inputtype="radio"name="alignment" value="start"/>$startOptionLabel141 + <input type="radio" name="alignment" value="start"/> 142 + $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.option.start')) 146 146 </label> 147 147 <label> 148 - #set ($centerOptionLabel= $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.option.center')))149 - <inputtype="radio" name="alignment" value="center"/>$centerOptionLabel145 + <input type="radio" name="alignment" value="center"/> 146 + $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.option.center')) 150 150 </label> 151 151 <label> 152 - #set ($endOptionLabel= $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.option.end')))153 - <inputtype="radio" name="alignment" value="end"/>$endOptionLabel149 + <input type="radio" name="alignment" value="end"/> 150 + $escapetool.xml($services.localization.render('ckeditor.plugin.image.imageEditor.advancedTab.alignment.option.end')) 154 154 </label> 155 155 </dd> 156 156 <dt> ... ... @@ -168,6 +168,10 @@ 168 168 </form> 169 169 </div> 170 170 </div> 168 + <input type="hidden" name="defaultImageStylesRestURL" id="defaultImageStylesRestURL" 169 + value="$services.imageStyle.getDefaultImageStyleRestPath()" /> 170 + <input type="hidden" name="imageStylesRestURL" id="imageStylesRestURL" 171 + value="$services.imageStyle.getImageStylesRestPath()" /> 171 171 </div> 172 172 {{/html}} 173 173 #end
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,11 +1,3 @@ 1 1 #advanced .image-size-lock { 2 2 margin-top: -2px; 3 3 } 4 - 5 -#advanced .alignments label { 6 - margin-right: 1em; 7 -} 8 - 9 -#standard .xform, #advanced .xform { 10 - margin-top: floor(@font-size-base * 1.4); 11 -} - Content Type
-
... ... @@ -1,1 +1,1 @@ 1 - LESS1 +CSS - Parser le contenu
-
... ... @@ -1,1 +1,1 @@ 1 - Non1 +Oui
- XWiki.UIExtensionClass[0]
-
- Cached
-
... ... @@ -1,1 +1,0 @@ 1 -Non - Asynchronous rendering
-
... ... @@ -1,1 +1,0 @@ 1 -Non - Executed Content
-
... ... @@ -1,10 +1,0 @@ 1 -{{velocity}} 2 -{{html}} 3 -<div class="hidden"> 4 -<input type="hidden" name="defaultImageStylesRestURL" id="defaultImageStylesRestURL" 5 - value="$escapetool.xml($services.imageStyle.getDefaultImageStyleRestPath())" /> 6 -<input type="hidden" name="imageStylesRestURL" id="imageStylesRestURL" 7 - value="$escapetool.xml($services.imageStyle.getImageStylesRestPath())" /> 8 -</div> 9 -{{/html}} 10 -{{/velocity}} - Extension Point ID
-
... ... @@ -1,1 +1,0 @@ 1 -org.xwiki.platform.template.header.after - Extension ID
-
... ... @@ -1,1 +1,0 @@ 1 -org.xwiki.platform.ckeditor.imageEditorService.template.header.after - Extension Scope
-
... ... @@ -1,1 +1,0 @@ 1 -wiki