Änderungen von Dokument Inhalt

Zuletzt geändert von Daniel Herrmann am 2025/12/16 11:14

Von Version 1.1 Icon
bearbeitet von admin
am 2025/02/23 10:22
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/17.0.0]
Auf Version Icon 2.1 Icon
bearbeitet von Daniel Herrmann
am 2025/07/19 16:57
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/17.5.0]

Zusammenfassung

Details

Icon Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +XWiki.dherrman
Inhalt
... ... @@ -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('{{', '&#123;&#123;')
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, {
Icon AppWithinMinutes.FormFieldClass[0]
Category
... ... @@ -1,0 +1,1 @@
1 +AppWithinMinutes.Document
Icon
... ... @@ -1,0 +1,1 @@
1 +edit
Priority
... ... @@ -1,0 +1,1 @@
1 +0