Changes for page Content
Last modified by SuperNico Laub on 2025/09/18 17:54
From 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]
To 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]
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:XWiki.supernico1 +XWiki.superadmin - Content
-
... ... @@ -1,7 +1,6 @@ 1 1 {{velocity}} 2 2 #if ($type == 'edit') 3 3 #set ($className = $object.getxWikiClass().name) 4 - #set ($id = "${prefix}${name}") 5 5 #if ($doc.fullName == $className) 6 6 ## We are editing the class so the content must be read from / written to the template document. 7 7 #set ($name = 'templateContent') ... ... @@ -14,6 +14,8 @@ 14 14 ## Use the preferred content editor. 15 15 #set ($useWysiwygEditor = $xwiki.getUserPreference('editor') == 'Wysiwyg') 16 16 {{html clean="false"}} 16 + ## The "content" id is expected by some JavaScript and CSS code. 17 + #set ($id = 'content') 17 17 #if (!$useWysiwygEditor) 18 18 <div id="xwikieditcontentinner"> 19 19 ## 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. ... ... @@ -20,7 +20,7 @@ 20 20 #set ($toolBar = "#template('simpleedittoolbar.vm')") 21 21 $!toolBar.replace('{{', '{{') 22 22 ## Display a simple textarea. 23 - <textarea id="$ escapetool.xml($id)" cols="80" rows="25" name="$name">$escapetool.xml($editedDocument.content)</textarea>24 + <textarea id="$id" cols="80" rows="25" name="$name">$escapetool.xml($editedDocument.content)</textarea> 24 24 #end 25 25 #if ($useWysiwygEditor) 26 26 $!services.edit.syntaxContent.wysiwyg($editedDocument.content, $editedDocument.syntax, {
- AppWithinMinutes.FormFieldClass[0]
-
- Category
-
... ... @@ -1,1 +1,0 @@ 1 -AppWithinMinutes.Document - Icon
-
... ... @@ -1,1 +1,0 @@ 1 -edit - Priority
-
... ... @@ -1,1 +1,0 @@ 1 -0