File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Client-Side Components/UI Pages/Add HTML Input field in GlideModal window Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <j : jelly trim =" false" xmlns : j =" jelly:core" xmlns : g =" glide" xmlns : j2 =" null" xmlns : g2 =" null" >
3+
4+ <!-- Short Description (String) -->
5+ <label for =" short_description" >Short Description</label ><br />
6+ <input type =" text" id =" short_description" name =" short_description" style =" width: 100%;" maxlength =" 100" /><br /><br />
7+
8+ <!-- Full Description (Rich Text/HTML) -->
9+ <label for =" full_description" >Full Description</label ><br />
10+ <script src =" /scripts/tinymce4_4_3/tinymce.full.jsx" ></script >
11+
12+ <script >
13+ tinymce.init({
14+ mode : "specific_textareas",
15+ editor_selector : "mce",
16+ width: '100%',
17+ height: '500px',
18+ menubar: "tools",
19+ toolbar: 'undo redo | bold italic | alignleft aligncenter alignright | bullist numlist',
20+ content_css : "* {font: 10px arial, sans-serif;} b {font-weight:bold;} th {font-weight:bold;} strong {font-weight:bold;}",
21+ });
22+
23+ </script >
24+ <textarea cols =" 80" rows =" 10" id =" myArea" name =" myArea" class =" mce" ></textarea >
25+ <br />
26+ <br />
27+ <div style =" text-align: left;" >
28+ <button type =" button" id =" submitBtn" onclick =" submitForm()" >Submit</button >
29+ </div >
30+ <script >
31+ // Example submit handler function:
32+ function submitForm() {
33+ alert("form submitted");
34+ }
35+ </script >
36+ </j : jelly >
37+
You can’t perform that action at this time.
0 commit comments