Changes for page Content

Last modified by Martin Výlet on 19.03.2025 21:26

From version 3.1
edited by Administrator
on 21.07.2023 12:41
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/15.5]
To version 4.1
edited by Martin Výlet
on 19.03.2025 21:26
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/17.1.0]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.xwikiadm
1 +XWiki.vyl0022
Content
... ... @@ -5,15 +5,13 @@
5 5   ## We are editing the class so the content must be read from / written to the template document.
6 6   #set ($name = 'templateContent')
7 7   #set ($editedDocument = $xwiki.getDocument("$stringtool.removeEnd($className, 'Class')Template"))
8 - ## Don't load the WYSIWYG editor when editing the class, because it's too heavy.
9 - #set ($useWysiwygEditor = false)
10 10   #else
11 11   ## We are editing an application entry so the content must be read from / written to the current document.
12 12   #set ($name = 'content')
13 13   #set ($editedDocument = $tdoc)
14 - ## Use the preferred content editor.
15 - #set ($useWysiwygEditor = $xwiki.getUserPreference('editor') == 'Wysiwyg')
16 16   #end
13 + ## Use the preferred content editor.
14 + #set ($useWysiwygEditor = $xwiki.getUserPreference('editor') == 'Wysiwyg')
17 17   {{html clean="false"}}
18 18   ## The "content" id is expected by some JavaScript and CSS code.
19 19   #set ($id = 'content')