Skip to content

Commit

Permalink
XWIKI-13858: Inconsistency between Long Text and Content fields displ…
Browse files Browse the repository at this point in the history
…ay in AWM wizard and entries

* Updated comments
  • Loading branch information
Sereza7 committed Dec 10, 2024
1 parent 8d6c2a2 commit 4371e52
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@
## We are editing the class so the content must be read from / written to the template document.
#set ($name = 'templateContent')
#set ($editedDocument = $xwiki.getDocument("$stringtool.removeEnd($className, 'Class')Template"))
## Don't load the WYSIWYG editor when editing the class, because it's too heavy.
#else
## We are editing an application entry so the content must be read from / written to the current document.
#set ($name = 'content')
#set ($editedDocument = $tdoc)
## Use the preferred content editor.
#end
## Use the preferred content editor.
#set ($useWysiwygEditor = $xwiki.getUserPreference('editor') == 'Wysiwyg')
{{html clean="false"}}
## The "content" id is expected by some JavaScript and CSS code.
Expand Down

0 comments on commit 4371e52

Please sign in to comment.