0 Votes

Wiki source code of DiagramEditSheet

Last modified by Ryan C on 2025/06/25 21:15

Show last authors
1 {{velocity}}
2 {{html clean="false"}}
3 #if ($doc.getObject('Diagram.DiagramClass'))
4 ## Disable the keyboard shortcuts because they prevent the user from typing text inside the diagram (the diagram
5 ## editor doesn't use standard text fields for entering the labels for the various shapes the diagram is made of)
6 #set ($keyboardShortcutsEnabled = false)
7 #set ($discard = $xwiki.ssx.use('Diagram.DiagramEditSheet'))
8 #set ($discard = $xwiki.jsx.use('Diagram.DiagramEditSheet'))
9 <div class="diagram-editor loading">
10 <input class="diagram-content" type="hidden" name="content" value="$escapetool.xml($tdoc.content)" />
11 <input class="diagram-svg" type="hidden" name="Diagram.DiagramClass_0_svg"
12 value="$!escapetool.xml($doc.getValue('svg'))" />
13 </div>
14 #end
15 {{/html}}
16 {{/velocity}}