1318 |
alexandre_ |
1 |
<div dojoAttachPoint="domNode" class="EditorToolbarDomNode" unselectable="on">
|
|
|
2 |
<table cellpadding="3" cellspacing="0" border="0">
|
|
|
3 |
<!--
|
|
|
4 |
our toolbar should look something like:
|
|
|
5 |
|
|
|
6 |
+=======+=======+=======+=============================================+
|
|
|
7 |
| w w | style | copy | bo | it | un | le | ce | ri |
|
|
|
8 |
| w w w | style |=======|==============|==============|
|
|
|
9 |
| w w | style | paste | undo | redo | change style |
|
|
|
10 |
+=======+=======+=======+=============================================+
|
|
|
11 |
-->
|
|
|
12 |
<tbody>
|
|
|
13 |
<tr valign="top">
|
|
|
14 |
<td rowspan="2">
|
|
|
15 |
<div class="bigIcon" dojoAttachPoint="wikiWordButton"
|
|
|
16 |
dojoOnClick="wikiWordClick; buttonClick;">
|
|
|
17 |
<span style="font-size: 30px; margin-left: 5px;">
|
|
|
18 |
W
|
|
|
19 |
</span>
|
|
|
20 |
</div>
|
|
|
21 |
</td>
|
|
|
22 |
<td rowspan="2">
|
|
|
23 |
<div class="bigIcon" dojoAttachPoint="styleDropdownButton"
|
|
|
24 |
dojoOnClick="styleDropdownClick; buttonClick;">
|
|
|
25 |
<span unselectable="on"
|
|
|
26 |
style="font-size: 30px; margin-left: 5px;">
|
|
|
27 |
S
|
|
|
28 |
</span>
|
|
|
29 |
</div>
|
|
|
30 |
<div class="StyleDropdownContainer" style="display: none;"
|
|
|
31 |
dojoAttachPoint="styleDropdownContainer">
|
|
|
32 |
<table cellpadding="0" cellspacing="0" border="0"
|
|
|
33 |
height="100%" width="100%">
|
|
|
34 |
<tr valign="top">
|
|
|
35 |
<td rowspan="2">
|
|
|
36 |
<div style="height: 245px; overflow: auto;">
|
|
|
37 |
<div class="headingContainer"
|
|
|
38 |
unselectable="on"
|
|
|
39 |
dojoOnClick="normalTextClick">normal</div>
|
|
|
40 |
<h1 class="headingContainer"
|
|
|
41 |
unselectable="on"
|
|
|
42 |
dojoOnClick="h1TextClick">Heading 1</h1>
|
|
|
43 |
<h2 class="headingContainer"
|
|
|
44 |
unselectable="on"
|
|
|
45 |
dojoOnClick="h2TextClick">Heading 2</h2>
|
|
|
46 |
<h3 class="headingContainer"
|
|
|
47 |
unselectable="on"
|
|
|
48 |
dojoOnClick="h3TextClick">Heading 3</h3>
|
|
|
49 |
<h4 class="headingContainer"
|
|
|
50 |
unselectable="on"
|
|
|
51 |
dojoOnClick="h4TextClick">Heading 4</h4>
|
|
|
52 |
<div class="headingContainer"
|
|
|
53 |
unselectable="on"
|
|
|
54 |
dojoOnClick="blahTextClick">blah</div>
|
|
|
55 |
<div class="headingContainer"
|
|
|
56 |
unselectable="on"
|
|
|
57 |
dojoOnClick="blahTextClick">blah</div>
|
|
|
58 |
<div class="headingContainer"
|
|
|
59 |
unselectable="on"
|
|
|
60 |
dojoOnClick="blahTextClick">blah</div>
|
|
|
61 |
<div class="headingContainer">blah</div>
|
|
|
62 |
<div class="headingContainer">blah</div>
|
|
|
63 |
<div class="headingContainer">blah</div>
|
|
|
64 |
<div class="headingContainer">blah</div>
|
|
|
65 |
</div>
|
|
|
66 |
</td>
|
|
|
67 |
<!--
|
|
|
68 |
<td>
|
|
|
69 |
<span class="iconContainer" dojoOnClick="buttonClick;">
|
|
|
70 |
<span class="icon justifyleft"
|
|
|
71 |
style="float: left;"> </span>
|
|
|
72 |
</span>
|
|
|
73 |
<span class="iconContainer" dojoOnClick="buttonClick;">
|
|
|
74 |
<span class="icon justifycenter"
|
|
|
75 |
style="float: left;"> </span>
|
|
|
76 |
</span>
|
|
|
77 |
<span class="iconContainer" dojoOnClick="buttonClick;">
|
|
|
78 |
<span class="icon justifyright"
|
|
|
79 |
style="float: left;"> </span>
|
|
|
80 |
</span>
|
|
|
81 |
<span class="iconContainer" dojoOnClick="buttonClick;">
|
|
|
82 |
<span class="icon justifyfull"
|
|
|
83 |
style="float: left;"> </span>
|
|
|
84 |
</span>
|
|
|
85 |
</td>
|
|
|
86 |
-->
|
|
|
87 |
</tr>
|
|
|
88 |
<tr valign="top">
|
|
|
89 |
<td>
|
|
|
90 |
thud
|
|
|
91 |
</td>
|
|
|
92 |
</tr>
|
|
|
93 |
</table>
|
|
|
94 |
</div>
|
|
|
95 |
</td>
|
|
|
96 |
<td>
|
|
|
97 |
<!-- copy -->
|
|
|
98 |
<span class="iconContainer" dojoAttachPoint="copyButton"
|
|
|
99 |
unselectable="on"
|
|
|
100 |
dojoOnClick="copyClick; buttonClick;">
|
|
|
101 |
<span class="icon copy"
|
|
|
102 |
unselectable="on"
|
|
|
103 |
style="float: left;"> </span> copy
|
|
|
104 |
</span>
|
|
|
105 |
<!-- "droppable" options -->
|
|
|
106 |
<span class="iconContainer" dojoAttachPoint="boldButton"
|
|
|
107 |
unselectable="on"
|
|
|
108 |
dojoOnClick="boldClick; buttonClick;">
|
|
|
109 |
<span class="icon bold" unselectable="on"> </span>
|
|
|
110 |
</span>
|
|
|
111 |
<span class="iconContainer" dojoAttachPoint="italicButton"
|
|
|
112 |
dojoOnClick="italicClick; buttonClick;">
|
|
|
113 |
<span class="icon italic" unselectable="on"> </span>
|
|
|
114 |
</span>
|
|
|
115 |
<span class="iconContainer" dojoAttachPoint="underlineButton"
|
|
|
116 |
dojoOnClick="underlineClick; buttonClick;">
|
|
|
117 |
<span class="icon underline" unselectable="on"> </span>
|
|
|
118 |
</span>
|
|
|
119 |
<span class="iconContainer" dojoAttachPoint="leftButton"
|
|
|
120 |
dojoOnClick="leftClick; buttonClick;">
|
|
|
121 |
<span class="icon justifyleft" unselectable="on"> </span>
|
|
|
122 |
</span>
|
|
|
123 |
<span class="iconContainer" dojoAttachPoint="fullButton"
|
|
|
124 |
dojoOnClick="fullClick; buttonClick;">
|
|
|
125 |
<span class="icon justifyfull" unselectable="on"> </span>
|
|
|
126 |
</span>
|
|
|
127 |
<span class="iconContainer" dojoAttachPoint="rightButton"
|
|
|
128 |
dojoOnClick="rightClick; buttonClick;">
|
|
|
129 |
<span class="icon justifyright" unselectable="on"> </span>
|
|
|
130 |
</span>
|
|
|
131 |
</td>
|
|
|
132 |
</tr>
|
|
|
133 |
<tr>
|
|
|
134 |
<td>
|
|
|
135 |
<!-- paste -->
|
|
|
136 |
<span class="iconContainer" dojoAttachPoint="pasteButton"
|
|
|
137 |
dojoOnClick="pasteClick; buttonClick;" unselectable="on">
|
|
|
138 |
<span class="icon paste" style="float: left;" unselectable="on"> </span> paste
|
|
|
139 |
</span>
|
|
|
140 |
<!-- "droppable" options -->
|
|
|
141 |
<span class="iconContainer" dojoAttachPoint="undoButton"
|
|
|
142 |
dojoOnClick="undoClick; buttonClick;" unselectable="on">
|
|
|
143 |
<span class="icon undo" style="float: left;" unselectable="on"> </span> undo
|
|
|
144 |
</span>
|
|
|
145 |
<span class="iconContainer" dojoAttachPoint="redoButton"
|
|
|
146 |
dojoOnClick="redoClick; buttonClick;" unselectable="on">
|
|
|
147 |
<span class="icon redo" style="float: left;" unselectable="on"> </span> redo
|
|
|
148 |
</span>
|
|
|
149 |
</td>
|
|
|
150 |
</tr>
|
|
|
151 |
</tbody>
|
|
|
152 |
</table>
|
|
|
153 |
</div>
|