Änderungen von Dokument Inhalt
Zuletzt geändert von Daniel Herrmann am 2025/12/16 11:14
Von Version
3.1
bearbeitet von Daniel Herrmann
am 2025/12/16 11:14
am 2025/12/16 11:14
Änderungskommentar:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/17.10.0]
Zusammenfassung
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.d herrman1 +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,8 +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" 24 - data-syntax="$escapetool.xml($doc.syntax.toIdString())">$escapetool.xml($editedDocument.content)</textarea> 24 + <textarea id="$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]
-
- Category
-
... ... @@ -1,1 +1,0 @@ 1 -AppWithinMinutes.Document - Icon
-
... ... @@ -1,1 +1,0 @@ 1 -edit - Priority
-
... ... @@ -1,1 +1,0 @@ 1 -0