-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathToolsFile.xml
More file actions
289 lines (267 loc) · 10.5 KB
/
ToolsFile.xml
File metadata and controls
289 lines (267 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<root>
<modules>
<module name="RadEditorStatistics" dockingZone="Bottom" enabled="true" visible="false"/>
<module name="RadEditorDomInspector" dockingZone="Module" enabled="true" visible="false" />
<module name="RadEditorNodeInspector" dockingZone="Module" enabled="true" visible="false" dockable="false" />
<module name="RadEditorHtmlInspector" dockingZone="Module" enabled="true" visible="false" />
<module name="RadEditorXhtmlValidator" dockingZone="Module" enabled="true" visible="false" dockable="false" />
</modules>
<tools name="MainToolbar" isribbon="false" dockable="true">
<!--<tool name="AjaxSpellCheck"/>-->
<!--<tool name="FindAndReplace" shortcut="CTRL+F"/>
<tool name="Copy" shortcut="CTRL+C"/>-->
<tool name="Paste" shortcut="CTRL+V"/>
<!--<tool name="PasteFromWord" />-->
<tool name="PasteFromWordNoFontsNoSizes" />
<tool name="PastePlainText" />
<!--<tool name="PasteAsHtml" />-->
<tool separator="true"/>
<tool name="Undo" shortcut="CTRL+Z"/>
<tool name="Redo" shortcut="CTRL+Y"/>
</tools>
<tools name="InsertToolbar" isribbon="false">
<tool name="ImageManager" shortcut="CTRL+G"/>
<!--<tool name="ImageMapDialog"/>-->
<tool name="AbsolutePosition" />
<tool separator="true"/>
<tool name="FlashManager" />
<!--<tool name="MediaManager" />-->
<tool name="DocumentManager" />
<tool name="LinkManager" shortcut="CTRL+K"/>
<!--<tool name="TemplateManager" />
<tool name="Unlink" shortcut="CTRL+SHIFT+K"/>-->
</tools>
<tools isribbon="false">
<tool name="Bold" shortcut="CTRL+B"/>
<tool name="Italic" shortcut="CTRL+I"/>
<tool name="Underline" shortcut="CTRL+U"/>
<tool name="StrikeThrough" />
<tool separator="true"/>
<!--<tool name="JustifyLeft" />
<tool name="JustifyCenter" />
<tool name="JustifyRight" />-->
<!--<tool name="JustifyFull" />-->
<!--<tool name="JustifyNone" />
<tool separator="true"/>-->
<tool name="Indent" />
<tool name="Outdent" />
<tool name="InsertOrderedList" />
<tool name="InsertUnorderedList" />
</tools>
<!--<tools isribbon="false">
<tool name="ConvertToLower" />
<tool name="ConvertToUpper" />
<tool separator="true"/>
<tool name="InsertTable" />
<tool name="InsertSnippet" />
<tool name="InsertFormElement" />
<tool name="InsertSymbol" />
</tools>-->
<tools name="DropdownToolbar" isribbon="false">
<tool name="InsertTable" />
<tool name="FormatBlock" />
<!--<tool name="FontSize" />-->
<tool separator="true"/>
<tool name="FormatStripper"/>
<!--<tool name="ApplyClass"/>-->
<tool name="InsertCustomLink"/>
<tool name="ForeColor"/>
<tool name="BackColor"/>
</tools>
<!--
<tool name="FontName" />
-->
<tools name="DialogToolbar" dockingZone="Top" enabled="true" isribbon="false">
<tool name="Print" shortcut="CTRL+P"/>
<tool name="InsertParagraph" />
<!--<tool name="InsertHorizontalRule" />-->
</tools>
<!--
<tool name="IncreaseSize" shortcut="F10"/>
<tool name="DecreaseSize" shortcut="F9"/>
<tool name="Superscript" />
<tool name="Subscript" />
<tool name="InsertDate" />
<tool name="InsertTime" />
<tool separator="true"/>
<tool name="AboutDialog" />
<tool name="Help" shortcut="F1"/>
-->
<tools name="EnhancedEditToolbar" dockingZone="Top" dockable="true">
<tool name="ToggleScreenMode" shortcut="F11"/>
<!--<tool name="ToggleTableBorder" />-->
<tool name="Zoom" />
<!--<tool name="ModuleManager" />
<tool name="ToggleDocking" />
<tool name="RepeatLastCommand" shortcut="F4"/>-->
</tools>
<snippets>
<snippet name="Order Confirmation">
<![CDATA[
<div style="width:300px;border:2px outset #D8D2BD;padding:34px;font-family:Arial, Verdana; font-size:11px;background-color:#F1EFE6;">
Dear ____________________,<br />
Thank you for inquiring about ____________. Your request will be processed in 48 hours and shipped at the address you have provided.
<br /><br />
<b>Please, contact us if you have any problems.</b>
</div>
]]>
</snippet>
<snippet name="Email Signature">
<![CDATA[
<div style="margin-top:30px;width:80%;border-top:1px dotted gray;padding-top:4px;font-family:Arial, Verdana; font-size:11px;">
<b>John Wigham</b><br />
Senior Web Developer<br />
<a href="#">john@mysite.com</a>
<br />
<br />
<i>Disclaimer: The contents of this e-mail are privileged and confidential and intended for the addressees at the specified e-mail addresses only.</i>
</div>
]]>
</snippet>
<snippet name="Problem Report Feedback">
<![CDATA[
<div style="width:300px;border:2px outset #D8D2BD;padding:34px;font-family:Arial, Verdana; font-size:11px;background-color:#F1EFE6;">
Hi ____________________,<br />
Thank you for reporting this issue. We have verified the problem and it is logged in our system. We will notify you once we have a solution.
<br /><br />
<b>Please, contact us if you have any problems.</b>
</div>
]]>
</snippet>
</snippets>
<symbols></symbols>
<fontNames> </fontNames>
<fontSizes></fontSizes>
<colors></colors>
<paragraphs>
<paragraph name="Normal" value="<body>" />
<paragraph name="<H2>Heading 2</H2>" value="<H2>" />
<paragraph name="<H3>Heading 3</H3>" value="<H3>" />
<paragraph name="<H4>Heading 4</H4>" value="<H4>" />
<paragraph name="<pre>Formatted</pre>" value="<pre>" />
</paragraphs>
<classes></classes>
<dialogParameters></dialogParameters>
<languages></languages>
<contextMenus></contextMenus>
</root>
<!-- ==============================================================================================
The ToolsFile must have a valid structure as shown below
All attributes and their values are case sensitive!
<root>
<modules>
<module />
<module/>
</modules>
<tools>
<tool />
<tool />
...
</tools>
...
<colors>
<color/>
<color/>
</colors>
</root>
<tool> element valid attributes:
name (required): Bold Italic Underline StrikeThrough Superscript Subscript
JustifyLeft JustifyCenter JustifyRight JustifyFull InsertOrderedList InsertUnorderedList
Outdent Indent Cut Copy Paste PasteFromWord
PastePlainText PasteAsHtml Print Undo Redo ImageManager
AbsolutePosition LinkManager Unlink InsertBoldHorizontalRule InsertTable ToggleTableBorder
FormatBlock ApplyClass FontName FontSize InsertCustomLink Custom
InsertSymbol BackColor ForeColor FlashManager MediaManager SpellCheck
FormatStripper InsertParagraph InsertSnippet Help FindAndReplace DocumentManager
PasteFromWordNoFontsNoSizes InsertFormElement InsertDate InsertTime TemplateManager ToggleScreenMode
Zoom ModuleManager ToggleDocking RepeatLastCommand AboutDialog
title
(not required):
Some hint string for this tool.
shortcut
(not required):
The key combination for the specific tool. Examples:
<tool name="TemplateManager" shortcut="Ctrl+Shift+Alt+N"/>
<tool name="LinkManager" shortcut="Ctrl+L" />
<separator> element
true/false Indicates whether a separator should appear at current position.
<tools> element valid attributes:
name (required): This string will identify the toolbar.
enabled (not required): true/false (Indicates whether the tool will be available on the client or not)
visible (not required):
true/false (Indicates whether the tool should appear in the toolbar or not. This toolbar will be available client-side - the property defines only the visibility of the tool.)
dockable (not required):
true/false (Indicates whether you will be able to drag&drop the toolbar to the docking zones)
<module> element valid attributes:
(module elements should appear as child elements of an element "modules")
name (required):
The friendly name of the module. When in floating mode the name will appear in the tool's titlebar.
dockable (not required):
(Indicates whether you will be able to drag&drop the tool to the docking zones)
enabled (not required):
(Indicates whether the module will be available on the client or not)
visible (not required):
(Indicates whether the module should appear in the toolbar or not. This module will be available client-side - the property defines only the visibility of the module. )
<link> element valid attributes:
(link elements should appear as child elements of an element "links")
name (required):
Link/Category Name/Alias
href (not required):
URL of the link/category
target (not required):
The target window of the link
tooltip (not required):
The tooltip for the link
<symbol> element valid attributes:
(symbol elements should appear as child elements of an element "symbols")
value (required):
The symbol to be displayed
<font> element valid attributes:
(font elements should appear as child elements of a tool element with "name" attribute set to "fontNames")
name (required):
Font Name
<class> element valid attributes:
(class elements should appear as child elements of an element "classes")
name (required):
Class Alias
value (required):
Class Name
<paragraph> element valid attributes:
(paragraph elements should appear as child elements of an element "paragraphs")
name (required):
Paragraph Alias
value (required):
Paragraph Name
<color> element valid attributes:
(color elements should appear as child elements of an element "colors")
value (not required):
Hex value of the color
<snippet> element valid attributes:
(snippet elements should appear as child elements of an element "snippets")
name (required):
Snippet Alias
<language> element valid attributes:
(language elements should appear as child elements of an element "Languages")
code (required):
Language code
title (required):
Language Title
The contextMenus tag in the Tools file allows you to change the default or specify custom context menus for different HTML elements.
<contextMenu > element valid attributes:
(contextMenu elements should appear as child elements of an element "contextMenus")
forElement (required):
The HTML element that will call this menu.
enabled (required):
Defines if this context menu is switched.
The example below shows how to attach custom context menus for <A> and <P> elements.
<contextMenus>
<contextMenu forElement="A" enabled="false">
</contextMenu>
<contextMenu forElement="P">
<tool name="JustifyLeft" />
<tool name="JustifyCenter" />
<tool name="JustifyRight" />
<tool name="JustifyFull" />
</contextMenu>
</contextMenus>
=============================================================================================== -->