Commit | Line | Data |
---|---|---|
dcc2332d MW |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/bbcode.xsd"> | |
3 | <import> | |
4 | <bbcode name="b"> | |
5 | <htmlopen>b</htmlopen> | |
6 | <htmlclose>b</htmlclose> | |
dcc2332d MW |
7 | </bbcode> |
8 | <bbcode name="i"> | |
9 | <htmlopen>i</htmlopen> | |
10 | <htmlclose>i</htmlclose> | |
dcc2332d MW |
11 | </bbcode> |
12 | <bbcode name="u"> | |
13 | <htmlopen>span style="text-decoration: underline"</htmlopen> | |
14 | <htmlclose>span</htmlclose> | |
dcc2332d MW |
15 | </bbcode> |
16 | <bbcode name="s"> | |
17 | <htmlopen>s</htmlopen> | |
18 | <htmlclose>s</htmlclose> | |
dcc2332d MW |
19 | </bbcode> |
20 | <bbcode name="sub"> | |
21 | <htmlopen>sub</htmlopen> | |
22 | <htmlclose>sub</htmlclose> | |
dcc2332d MW |
23 | </bbcode> |
24 | <bbcode name="sup"> | |
25 | <htmlopen>sup</htmlopen> | |
26 | <htmlclose>sup</htmlclose> | |
dcc2332d MW |
27 | </bbcode> |
28 | <bbcode name="email"> | |
18290128 | 29 | <classname>wcf\system\bbcode\EmailBBCode</classname> |
dcc2332d MW |
30 | <attributes> |
31 | <attribute name="0"> | |
dcc2332d MW |
32 | <required>1</required> |
33 | <usetext>1</usetext> | |
34 | <validationpattern>^[^\s]+@[^\s]+$</validationpattern> | |
35 | </attribute> | |
36 | </attributes> | |
37 | </bbcode> | |
38 | <bbcode name="color"> | |
39 | <htmlopen>span</htmlopen> | |
40 | <htmlclose>span</htmlclose> | |
41 | <attributes> | |
42 | <attribute name="0"> | |
43 | <html>style="color: %s"</html> | |
44 | <validationpattern>^(#([0-9a-f]{3}|[0-9a-f]{6})|[a-z]+)$</validationpattern> | |
45 | <required>1</required> | |
46 | </attribute> | |
47 | </attributes> | |
48 | </bbcode> | |
49 | <bbcode name="size"> | |
50 | <htmlopen>span</htmlopen> | |
51 | <htmlclose>span</htmlclose> | |
52 | <attributes> | |
53 | <attribute name="0"> | |
54 | <html>style="font-size: %dpt"</html> | |
55 | <validationpattern>^([89]{1}|[1-3]{1}[0-9]{1})$</validationpattern> | |
56 | <required>1</required> | |
57 | </attribute> | |
58 | </attributes> | |
59 | <wysiwyg>1</wysiwyg> | |
60 | </bbcode> | |
61 | <bbcode name="font"> | |
62 | <htmlopen>span</htmlopen> | |
63 | <htmlclose>span</htmlclose> | |
64 | <attributes> | |
65 | <attribute name="0"> | |
66 | <html>style="font-family: %s"</html> | |
67 | <validationpattern>^[^"';}\(\)]*$</validationpattern> | |
68 | <required>1</required> | |
69 | </attribute> | |
70 | </attributes> | |
71 | </bbcode> | |
72 | <bbcode name="align"> | |
73 | <htmlopen>div</htmlopen> | |
74 | <htmlclose>div</htmlclose> | |
75 | <attributes> | |
76 | <attribute name="0"> | |
77 | <html>style="text-align: %s"</html> | |
78 | <validationpattern>^(left|right|center|justify)$</validationpattern> | |
79 | <required>1</required> | |
80 | </attribute> | |
81 | </attributes> | |
ece28c21 | 82 | <isBlockElement>1</isBlockElement> |
dcc2332d MW |
83 | </bbcode> |
84 | <bbcode name="quote"> | |
18290128 | 85 | <classname>wcf\system\bbcode\QuoteBBCode</classname> |
dcc2332d MW |
86 | <attributes> |
87 | <attribute name="0"></attribute> | |
88 | <attribute name="1"></attribute> | |
89 | </attributes> | |
3f5d34eb | 90 | <wysiwygicon>fa-quote-left</wysiwygicon> |
42d1594f | 91 | <buttonlabel>wcf.editor.button.quote</buttonlabel> |
ece28c21 | 92 | <isBlockElement>1</isBlockElement> |
dcc2332d MW |
93 | </bbcode> |
94 | <bbcode name="code"> | |
18290128 | 95 | <classname>wcf\system\bbcode\CodeBBCode</classname> |
dcc2332d | 96 | <attributes> |
625d206c MW |
97 | <attribute name="0"></attribute> |
98 | <attribute name="1"></attribute> | |
99 | <attribute name="2"></attribute> | |
dcc2332d MW |
100 | </attributes> |
101 | <sourcecode>1</sourcecode> | |
3f5d34eb | 102 | <wysiwygicon>fa-code</wysiwygicon> |
42d1594f | 103 | <buttonlabel>wcf.editor.button.code</buttonlabel> |
ece28c21 | 104 | <isBlockElement>1</isBlockElement> |
dcc2332d MW |
105 | </bbcode> |
106 | <bbcode name="img"> | |
18290128 | 107 | <classname>wcf\system\bbcode\ImageBBCode</classname> |
dcc2332d MW |
108 | <attributes> |
109 | <attribute name="0"> | |
110 | <required>1</required> | |
111 | <usetext>1</usetext> | |
112 | <validationpattern>^.+$</validationpattern> | |
113 | </attribute> | |
114 | <attribute name="1"> | |
5bc2753a AE |
115 | <validationpattern>^(left|right|none)$</validationpattern> |
116 | </attribute> | |
117 | <attribute name="2"> | |
118 | <validationpattern>^\d+$</validationpattern> | |
dcc2332d MW |
119 | </attribute> |
120 | </attributes> | |
121 | </bbcode> | |
122 | <bbcode name="url"> | |
18290128 | 123 | <classname>wcf\system\bbcode\URLBBCode</classname> |
dcc2332d MW |
124 | <attributes> |
125 | <attribute name="0"> | |
126 | <required>1</required> | |
127 | <usetext>1</usetext> | |
128 | <validationpattern>^.+$</validationpattern> | |
129 | </attribute> | |
130 | </attributes> | |
131 | </bbcode> | |
132 | <bbcode name="list"> | |
18290128 | 133 | <classname>wcf\system\bbcode\ListBBCode</classname> |
dcc2332d MW |
134 | <attributes> |
135 | <attribute name="0"> | |
136 | <validationpattern>^(1|a|none|circle|square|disc|decimal|lower-roman|upper-roman|decimal-leading-zero|lower-greek|lower-latin|upper-latin|armenian|georgian)$</validationpattern> | |
137 | </attribute> | |
138 | </attributes> | |
ece28c21 | 139 | <isBlockElement>1</isBlockElement> |
dcc2332d | 140 | </bbcode> |
698bbf6c | 141 | |
dcc2332d | 142 | <bbcode name="table"> |
18290128 | 143 | <classname>wcf\system\bbcode\TableBBCode</classname> |
ece28c21 | 144 | <isBlockElement>1</isBlockElement> |
dcc2332d | 145 | </bbcode> |
698bbf6c | 146 | <bbcode name="tr"> |
18290128 | 147 | <classname>wcf\system\bbcode\TrBBCode></classname> |
698bbf6c AE |
148 | <isBlockElement>1</isBlockElement> |
149 | </bbcode> | |
150 | <bbcode name="td"> | |
18290128 | 151 | <classname>wcf\system\bbcode\TdBBcode</classname> |
698bbf6c AE |
152 | <isBlockElement>1</isBlockElement> |
153 | </bbcode> | |
154 | ||
dcc2332d | 155 | <bbcode name="media"> |
18290128 | 156 | <classname>wcf\system\bbcode\MediaBBCode</classname> |
dcc2332d MW |
157 | <sourcecode>1</sourcecode> |
158 | </bbcode> | |
159 | <bbcode name="spoiler"> | |
18290128 | 160 | <classname>wcf\system\bbcode\SpoilerBBCode</classname> |
dcc2332d MW |
161 | <attributes> |
162 | <attribute name="0"></attribute> | |
163 | </attributes> | |
3f5d34eb | 164 | <wysiwygicon>fa-eye-slash</wysiwygicon> |
42d1594f | 165 | <buttonlabel>wcf.editor.button.spoiler</buttonlabel> |
ece28c21 | 166 | <isBlockElement>1</isBlockElement> |
dcc2332d MW |
167 | </bbcode> |
168 | <bbcode name="tt"> | |
8a388f7f AE |
169 | <htmlopen>kbd</htmlopen> |
170 | <htmlclose>kbd</htmlclose> | |
dcc2332d | 171 | <sourcecode>1</sourcecode> |
836c4606 | 172 | <wysiwygicon>fa-terminal</wysiwygicon> |
42d1594f | 173 | <buttonlabel>wcf.editor.button.inlineCode</buttonlabel> |
dcc2332d | 174 | </bbcode> |
d45eaff6 MW |
175 | |
176 | <bbcode name="attach"> | |
18290128 | 177 | <classname>wcf\system\bbcode\AttachmentBBCode</classname> |
d45eaff6 MW |
178 | <attributes> |
179 | <attribute name="0"> | |
180 | <validationpattern>^\d+$</validationpattern> | |
181 | <required>1</required> | |
182 | <usetext>1</usetext> | |
183 | </attribute> | |
184 | <attribute name="1"> | |
5bc2753a AE |
185 | <validationpattern>^(left|right|none)$</validationpattern> |
186 | </attribute> | |
187 | <attribute name="2"> | |
8031a1a1 AE |
188 | <!-- "\d+" is only matched for backward compatibility --> |
189 | <validationpattern>^(\d+|true|false)$</validationpattern> | |
d45eaff6 MW |
190 | </attribute> |
191 | </attributes> | |
192 | </bbcode> | |
6540839d AE |
193 | |
194 | <bbcode name="wsm"> | |
18290128 | 195 | <classname>wcf\system\bbcode\WoltLabSuiteMediaBBCode</classname> |
6540839d AE |
196 | <isBlockElement>1</isBlockElement> |
197 | <attributes> | |
198 | <attribute name="0"> | |
199 | <validationpattern>^\d+$</validationpattern> | |
200 | <required>1</required> | |
6540839d AE |
201 | </attribute> |
202 | <attribute name="1"> | |
203 | <validationpattern>^(small|medium|large|original)$</validationpattern> | |
204 | </attribute> | |
205 | <attribute name="2"> | |
206 | <validationpattern>^(left|right|none)$</validationpattern> | |
207 | </attribute> | |
208 | </attributes> | |
209 | </bbcode> | |
210 | ||
211 | <bbcode name="wsmg"> | |
18290128 | 212 | <classname>wcf\system\bbcode\WoltLabSuiteMediaGalleryBBCode</classname> |
6540839d AE |
213 | <attributes> |
214 | <attribute name="0"> | |
215 | <validationpattern>^\d+(,\d+)*$</validationpattern> | |
216 | <required>1</required> | |
e5c625ac AE |
217 | </attribute> |
218 | </attributes> | |
219 | </bbcode> | |
220 | ||
221 | <bbcode name="wsp"> | |
18290128 | 222 | <classname>wcf\system\bbcode\WoltLabSuitePageBBCode</classname> |
e5c625ac AE |
223 | <attributes> |
224 | <attribute name="0"> | |
225 | <validationpattern>^\d+$</validationpattern> | |
226 | <required>1</required> | |
6540839d AE |
227 | </attribute> |
228 | </attributes> | |
229 | </bbcode> | |
8fdca4dc AE |
230 | |
231 | <bbcode name="user"> | |
232 | <classname>wcf\system\bbcode\UserBBCode</classname> | |
233 | <attributes> | |
234 | <attribute name="0"> | |
235 | <validationpattern>^\d+$</validationpattern> | |
236 | <required>1</required> | |
237 | </attribute> | |
238 | </attributes> | |
239 | </bbcode> | |
dcc2332d | 240 | </import> |
e9adedec | 241 | </data> |