Skip to content

Commit bffd567

Browse files
Sereza7mflorea
authored andcommitted
XWIKI-13858: Inconsistency between Long Text and Content fields display in AWM wizard and entries (#3594)
* In all places where we can edit this object, we follow the userPreference regarding text editors. (cherry picked from commit a81ba09)
1 parent d964394 commit bffd567

File tree

1 file changed

+2
-4
lines changed
  • xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes

1 file changed

+2
-4
lines changed

xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes/Content.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,13 @@
4343
## We are editing the class so the content must be read from / written to the template document.
4444
#set ($name = 'templateContent')
4545
#set ($editedDocument = $xwiki.getDocument("$stringtool.removeEnd($className, 'Class')Template"))
46-
## Don't load the WYSIWYG editor when editing the class, because it's too heavy.
47-
#set ($useWysiwygEditor = false)
4846
#else
4947
## We are editing an application entry so the content must be read from / written to the current document.
5048
#set ($name = 'content')
5149
#set ($editedDocument = $tdoc)
52-
## Use the preferred content editor.
53-
#set ($useWysiwygEditor = $xwiki.getUserPreference('editor') == 'Wysiwyg')
5450
#end
51+
## Use the preferred content editor.
52+
#set ($useWysiwygEditor = $xwiki.getUserPreference('editor') == 'Wysiwyg')
5553
{{html clean="false"}}
5654
## The "content" id is expected by some JavaScript and CSS code.
5755
#set ($id = 'content')

0 commit comments

Comments
 (0)