Changes for page Content
Last modified by SuperNico Laub on 2025/09/18 17:54
From version 1.1
edited by superadmin
on 2025/05/22 17:44
on 2025/05/22 17:44
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/16.10.8]
To version 2.1
edited by SuperNico Laub
on 2025/09/18 17:54
on 2025/09/18 17:54
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/17.7.0]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.super admin1 +xwiki:XWiki.supernico - Content
-
... ... @@ -1,6 +1,7 @@ 1 1 {{velocity}} 2 2 #if ($type == 'edit') 3 3 #set ($className = $object.getxWikiClass().name) 4 + #set ($id = "${prefix}${name}") 4 4 #if ($doc.fullName == $className) 5 5 ## We are editing the class so the content must be read from / written to the template document. 6 6 #set ($name = 'templateContent') ... ... @@ -13,8 +13,6 @@ 13 13 ## Use the preferred content editor. 14 14 #set ($useWysiwygEditor = $xwiki.getUserPreference('editor') == 'Wysiwyg') 15 15 {{html clean="false"}} 16 - ## The "content" id is expected by some JavaScript and CSS code. 17 - #set ($id = 'content') 18 18 #if (!$useWysiwygEditor) 19 19 <div id="xwikieditcontentinner"> 20 20 ## The tool bar may have an entry to insert an HTML macro. Make sure it doesn't break the HTML macro we are currently in. ... ... @@ -21,7 +21,7 @@ 21 21 #set ($toolBar = "#template('simpleedittoolbar.vm')") 22 22 $!toolBar.replace('{{', '{{') 23 23 ## Display a simple textarea. 24 - <textarea id="$id" cols="80" rows="25" name="$name">$escapetool.xml($editedDocument.content)</textarea> 23 + <textarea id="$escapetool.xml($id)" cols="80" rows="25" name="$name">$escapetool.xml($editedDocument.content)</textarea> 25 25 #end 26 26 #if ($useWysiwygEditor) 27 27 $!services.edit.syntaxContent.wysiwyg($editedDocument.content, $editedDocument.syntax, {
- AppWithinMinutes.FormFieldClass[0]
-
- Icon
-
... ... @@ -1,0 +1,1 @@ 1 +edit - Category
-
... ... @@ -1,0 +1,1 @@ 1 +AppWithinMinutes.Document - Priority
-
... ... @@ -1,0 +1,1 @@ 1 +0