Änderungen von Dokument Inhalt

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

Von 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]
Auf 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]

Zusammenfassung

Details

Icon Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.dherrman
1 +XWiki.admin
Inhalt
... ... @@ -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('{{', '&#123;&#123;')
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, {
Icon 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