1 <?xml version="1.0" encoding="utf-8"?>
2 <django-objects version="1.0">
3 <object pk="24" model="toolbar.buttongroup">
4 <field type="CharField" name="name">Dodatkowe przyciski edytora HTML</field>
5 <field type="SlugField" name="slug">htmleditor-extra</field>
6 <field type="IntegerField" name="position">-1</field>
8 <object pk="23" model="toolbar.buttongroup">
9 <field type="CharField" name="name">Dodatkowe przyciski w XMLEditor</field>
10 <field type="SlugField" name="slug">xmleditor-extra-buttons</field>
11 <field type="IntegerField" name="position">-1</field>
13 <object pk="14" model="toolbar.buttongroup">
14 <field type="CharField" name="name">Akapity</field>
15 <field type="SlugField" name="slug">akapity</field>
16 <field type="IntegerField" name="position">0</field>
18 <object pk="2" model="toolbar.buttongroup">
19 <field type="CharField" name="name">Autokorekta</field>
20 <field type="SlugField" name="slug">autokorekta</field>
21 <field type="IntegerField" name="position">0</field>
23 <object pk="21" model="toolbar.buttongroup">
24 <field type="CharField" name="name">Bloki</field>
25 <field type="SlugField" name="slug">bloki</field>
26 <field type="IntegerField" name="position">0</field>
28 <object pk="25" model="toolbar.buttongroup">
29 <field type="CharField" name="name">Dodatkowe przyciski DC</field>
30 <field type="SlugField" name="slug">dc-editor-extra-buttons</field>
31 <field type="IntegerField" name="position">0</field>
33 <object pk="12" model="toolbar.buttongroup">
34 <field type="CharField" name="name">Dramat wierszowany</field>
35 <field type="SlugField" name="slug">dramat-wierszowany</field>
36 <field type="IntegerField" name="position">0</field>
38 <object pk="13" model="toolbar.buttongroup">
39 <field type="CharField" name="name">Elementy początkowe</field>
40 <field type="SlugField" name="slug">elementy-poczatkowe</field>
41 <field type="IntegerField" name="position">0</field>
43 <object pk="1" model="toolbar.buttongroup">
44 <field type="CharField" name="name">Nagłówki</field>
45 <field type="SlugField" name="slug">naglowki</field>
46 <field type="IntegerField" name="position">0</field>
48 <object pk="22" model="toolbar.buttongroup">
49 <field type="CharField" name="name">Początek dramatu</field>
50 <field type="SlugField" name="slug">poczatek-dramatu</field>
51 <field type="IntegerField" name="position">0</field>
53 <object pk="27" model="toolbar.buttongroup">
54 <field type="CharField" name="name">Polecenia</field>
55 <field type="SlugField" name="slug">polecenia</field>
56 <field type="IntegerField" name="position">0</field>
58 <object pk="26" model="toolbar.buttongroup">
59 <field type="CharField" name="name">Przypisy</field>
60 <field type="SlugField" name="slug">przypisy</field>
61 <field type="IntegerField" name="position">0</field>
63 <object pk="16" model="toolbar.buttongroup">
64 <field type="CharField" name="name">Separatory</field>
65 <field type="SlugField" name="slug">separatory</field>
66 <field type="IntegerField" name="position">0</field>
68 <object pk="11" model="toolbar.buttongroup">
69 <field type="CharField" name="name">Strukturalne</field>
70 <field type="SlugField" name="slug">strukturalne</field>
71 <field type="IntegerField" name="position">0</field>
73 <object pk="15" model="toolbar.buttongroup">
74 <field type="CharField" name="name">Style znakowe</field>
75 <field type="SlugField" name="slug">style-znakowe</field>
76 <field type="IntegerField" name="position">0</field>
78 <object pk="17" model="toolbar.buttongroup">
79 <field type="CharField" name="name">Wersy</field>
80 <field type="SlugField" name="slug">wersy</field>
81 <field type="IntegerField" name="position">0</field>
83 <object pk="39" model="toolbar.button">
84 <field type="CharField" name="label">akapit</field>
85 <field type="SlugField" name="slug">akapit</field>
86 <field type="TextField" name="params">{"tag": "akap"}</field>
87 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
88 <field type="CharField" name="link"/>
89 <field type="CharField" name="key">a</field>
90 <field type="PositiveIntegerField" name="key_mod">1</field>
91 <field type="CharField" name="tooltip">Alt+a</field>
92 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
96 <object pk="40" model="toolbar.button">
97 <field type="CharField" name="label">akapit cd.</field>
98 <field type="SlugField" name="slug">akapit-cd</field>
99 <field type="TextField" name="params">{"tag": "akap_cd"}</field>
100 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
101 <field type="CharField" name="link"/>
102 <field type="CharField" name="key"/>
103 <field type="PositiveIntegerField" name="key_mod">0</field>
104 <field type="CharField" name="tooltip"/>
105 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
109 <object pk="41" model="toolbar.button">
110 <field type="CharField" name="label">akapit dialogowy</field>
111 <field type="SlugField" name="slug">akapit-dialogowy</field>
112 <field type="TextField" name="params">{"tag": "akap_dialog"}</field>
113 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
114 <field type="CharField" name="link"/>
115 <field type="CharField" name="key">d</field>
116 <field type="PositiveIntegerField" name="key_mod">1</field>
117 <field type="CharField" name="tooltip">Alt+d</field>
118 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
122 <object pk="14" model="toolbar.button">
123 <field type="CharField" name="label">akt</field>
124 <field type="SlugField" name="slug">akt</field>
125 <field type="TextField" name="params">{"tag": "akt"}</field>
126 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
127 <field type="CharField" name="link"/>
128 <field type="CharField" name="key"/>
129 <field type="PositiveIntegerField" name="key_mod">0</field>
130 <field type="CharField" name="tooltip"/>
131 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
135 <object pk="32" model="toolbar.button">
136 <field type="CharField" name="label">autor</field>
137 <field type="SlugField" name="slug">autor</field>
138 <field type="TextField" name="params">{"tag": "autor"}</field>
139 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
140 <field type="CharField" name="link"/>
141 <field type="CharField" name="key"/>
142 <field type="PositiveIntegerField" name="key_mod">0</field>
143 <field type="CharField" name="tooltip"/>
144 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
148 <object pk="4" model="toolbar.button">
149 <field type="CharField" name="label">Podstawowa</field>
150 <field type="SlugField" name="slug">basic_correction</field>
151 <field type="TextField" name="params">[["fulltextregexp", {"exprs": [["\ufeff", ""], ["$[\\s]*\\d+[\\s]*^", ""], ["-\\s*^", ""], ["\\,\\.\\.|\\.\\,\\.|\\.\\.\\,", "..."]]}], ["lineregexp", {"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "], ["(,,)\\s+|\\s+(\")", "$1"], ["(\\d)[\u2014-](\\d)", "$1--$2"], ["\u2014", "---"], ["<(/?)P([aert])", "<$1p$2"], ["([^\\.])(\\s*)</p", "$1.$2</p"]]}]]</field>
152 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">macro</field>
153 <field type="CharField" name="link"/>
154 <field type="CharField" name="key"/>
155 <field type="PositiveIntegerField" name="key_mod">0</field>
156 <field type="CharField" name="tooltip">Wykonuję operację z novel-pages i poem-pages.</field>
157 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
161 <object pk="10" model="toolbar.button">
162 <field type="CharField" name="label">część/księga</field>
163 <field type="SlugField" name="slug">czesc</field>
164 <field type="TextField" name="params">{"tag": "naglowek_czesc"}</field>
165 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
166 <field type="CharField" name="link"/>
167 <field type="CharField" name="key"/>
168 <field type="PositiveIntegerField" name="key_mod">0</field>
169 <field type="CharField" name="tooltip"/>
170 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
174 <object pk="74" model="toolbar.button">
175 <field type="CharField" name="label">dedykacja</field>
176 <field type="SlugField" name="slug">dedykacja</field>
177 <field type="TextField" name="params">{"tag": "dedykacja"}</field>
178 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
179 <field type="CharField" name="link"/>
180 <field type="CharField" name="key"/>
181 <field type="PositiveIntegerField" name="key_mod">0</field>
182 <field type="CharField" name="tooltip"/>
183 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
188 <object pk="6" model="toolbar.button">
189 <field type="CharField" name="label">A<sup>-</sup></field>
190 <field type="SlugField" name="slug">descrease_font_size</field>
191 <field type="TextField" name="params">{"change": -2}</field>
192 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
193 <field type="CharField" name="link"/>
194 <field type="CharField" name="key"/>
195 <field type="PositiveIntegerField" name="key_mod">0</field>
196 <field type="CharField" name="tooltip">Zmniejsz rozmiar czcionki.</field>
197 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
201 <object pk="62" model="toolbar.button">
202 <field type="CharField" name="label">didaskalia</field>
203 <field type="SlugField" name="slug">didaskalia</field>
204 <field type="TextField" name="params">{"tag": "didaskalia"}</field>
205 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
206 <field type="CharField" name="link"/>
207 <field type="CharField" name="key"/>
208 <field type="PositiveIntegerField" name="key_mod">0</field>
209 <field type="CharField" name="tooltip"/>
210 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
214 <object pk="79" model="toolbar.button">
215 <field type="CharField" name="label">didaskalia początkowe</field>
216 <field type="SlugField" name="slug">didaskalia-poczatkowe</field>
217 <field type="TextField" name="params">{"tag": "miejsce_czas"}</field>
218 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
219 <field type="CharField" name="link"/>
220 <field type="CharField" name="key"/>
221 <field type="PositiveIntegerField" name="key_mod">0</field>
222 <field type="CharField" name="tooltip"/>
223 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
227 <object pk="63" model="toolbar.button">
228 <field type="CharField" name="label">didaskalia wewn.</field>
229 <field type="SlugField" name="slug">didaskalia-wewn</field>
230 <field type="TextField" name="params">{"tag": "didask_tekst"}</field>
231 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
232 <field type="CharField" name="link"/>
233 <field type="CharField" name="key"/>
234 <field type="PositiveIntegerField" name="key_mod">0</field>
235 <field type="CharField" name="tooltip"/>
236 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
240 <object pk="67" model="toolbar.button">
241 <field type="CharField" name="label">długi cyt. poet.</field>
242 <field type="SlugField" name="slug">dlugi-cyt-poet</field>
243 <field type="TextField" name="params">{"tag": "poezja_cyt"}</field>
244 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
245 <field type="CharField" name="link"/>
246 <field type="CharField" name="key"/>
247 <field type="PositiveIntegerField" name="key_mod">0</field>
248 <field type="CharField" name="tooltip"/>
249 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
253 <object pk="42" model="toolbar.button">
254 <field type="CharField" name="label">długi cytat</field>
255 <field type="SlugField" name="slug">dlugi-cytat</field>
256 <field type="TextField" name="params">{"tag": "dlugi_cyt"}</field>
257 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
258 <field type="CharField" name="link"/>
259 <field type="CharField" name="key"/>
260 <field type="PositiveIntegerField" name="key_mod">0</field>
261 <field type="CharField" name="tooltip"/>
262 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
266 <object pk="20" model="toolbar.button">
267 <field type="CharField" name="label">dramat wiersz.</field>
268 <field type="SlugField" name="slug">dramat-wiersz</field>
269 <field type="TextField" name="params">{"tag": "dramat_wierszowany_l"}</field>
270 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
271 <field type="CharField" name="link"/>
272 <field type="CharField" name="key"/>
273 <field type="PositiveIntegerField" name="key_mod">0</field>
274 <field type="CharField" name="tooltip"/>
275 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
279 <object pk="22" model="toolbar.button">
280 <field type="CharField" name="label">dramat wiersz./w. łam</field>
281 <field type="SlugField" name="slug">dramat-wiersz-w-lam</field>
282 <field type="TextField" name="params">{"tag": "dramat_wierszowany_lp"}</field>
283 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
284 <field type="CharField" name="link"/>
285 <field type="CharField" name="key"/>
286 <field type="PositiveIntegerField" name="key_mod">0</field>
287 <field type="CharField" name="tooltip"/>
288 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
292 <object pk="21" model="toolbar.button">
293 <field type="CharField" name="label">dramat współczesny</field>
294 <field type="SlugField" name="slug">dramat-wspolczesny</field>
295 <field type="TextField" name="params">{"tag": "dramat_wspolczesny"}</field>
296 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
297 <field type="CharField" name="link"/>
298 <field type="CharField" name="key"/>
299 <field type="PositiveIntegerField" name="key_mod">0</field>
300 <field type="CharField" name="tooltip"/>
301 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
305 <object pk="38" model="toolbar.button">
306 <field type="CharField" name="label">dzieło nadrzędne</field>
307 <field type="SlugField" name="slug">dzielo-nadrzedne</field>
308 <field type="TextField" name="params">{"tag": "dzielo_nadrzedne"}</field>
309 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
310 <field type="CharField" name="link"/>
311 <field type="CharField" name="key"/>
312 <field type="PositiveIntegerField" name="key_mod">0</field>
313 <field type="CharField" name="tooltip"/>
314 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
318 <object pk="52" model="toolbar.button">
319 <field type="CharField" name="label">ekstra</field>
320 <field type="SlugField" name="slug">ekstra</field>
321 <field type="TextField" name="params">{"tag": "ekstra"}</field>
322 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
323 <field type="CharField" name="link"/>
324 <field type="CharField" name="key"/>
325 <field type="PositiveIntegerField" name="key_mod">0</field>
326 <field type="CharField" name="tooltip"/>
327 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
331 <object pk="87" model="toolbar.button">
332 <field type="CharField" name="label">Wydrukuj</field>
333 <field type="SlugField" name="slug">htmleditor-print</field>
334 <field type="TextField" name="params">[]</field>
335 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
336 <field type="CharField" name="link">print/html</field>
337 <field type="CharField" name="key"/>
338 <field type="PositiveIntegerField" name="key_mod">0</field>
339 <field type="CharField" name="tooltip"/>
340 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
344 <object pk="5" model="toolbar.button">
345 <field type="CharField" name="label">A<sup>+</sup></field>
346 <field type="SlugField" name="slug">increase_font_size</field>
347 <field type="TextField" name="params">{"change": 2}</field>
348 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
349 <field type="CharField" name="link"/>
350 <field type="CharField" name="key"/>
351 <field type="PositiveIntegerField" name="key_mod">0</field>
352 <field type="CharField" name="tooltip">Zwiększ rozmiar czcionki.</field>
353 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
357 <object pk="82" model="toolbar.button">
358 <field type="CharField" name="label">kwestia</field>
359 <field type="SlugField" name="slug">kwestia</field>
360 <field type="TextField" name="params">{"tag": "kwestia"}</field>
361 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
362 <field type="CharField" name="link"/>
363 <field type="CharField" name="key">k</field>
364 <field type="PositiveIntegerField" name="key_mod">1</field>
365 <field type="CharField" name="tooltip">Alt+k</field>
366 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
370 <object pk="23" model="toolbar.button">
371 <field type="CharField" name="label">liryka</field>
372 <field type="SlugField" name="slug">liryka</field>
373 <field type="TextField" name="params">{"tag": "liryka_l"}</field>
374 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
375 <field type="CharField" name="link"/>
376 <field type="CharField" name="key"/>
377 <field type="PositiveIntegerField" name="key_mod">0</field>
378 <field type="CharField" name="tooltip"/>
379 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
383 <object pk="24" model="toolbar.button">
384 <field type="CharField" name="label">liryka/w. łam</field>
385 <field type="SlugField" name="slug">liryka-w-lam</field>
386 <field type="TextField" name="params">{"tag": "liryka_lp"}</field>
387 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
388 <field type="CharField" name="link"/>
389 <field type="CharField" name="key"/>
390 <field type="PositiveIntegerField" name="key_mod">0</field>
391 <field type="CharField" name="tooltip"/>
392 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
396 <object pk="78" model="toolbar.button">
397 <field type="CharField" name="label">lista osób: pole</field>
398 <field type="SlugField" name="slug">lista-osob-pole</field>
399 <field type="TextField" name="params">{"tag": "lista_osoba", "attrs": {"typ": ""}}</field>
400 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
401 <field type="CharField" name="link"/>
402 <field type="CharField" name="key"/>
403 <field type="PositiveIntegerField" name="key_mod">0</field>
404 <field type="CharField" name="tooltip"/>
405 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
409 <object pk="47" model="toolbar.button">
410 <field type="CharField" name="label">mamtemat.</field>
411 <field type="SlugField" name="slug">matemat</field>
412 <field type="TextField" name="params">{"tag": "mat"}</field>
413 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
414 <field type="CharField" name="link"/>
415 <field type="CharField" name="key"/>
416 <field type="PositiveIntegerField" name="key_mod">0</field>
417 <field type="CharField" name="tooltip"/>
418 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
422 <object pk="75" model="toolbar.button">
423 <field type="CharField" name="label">motto</field>
424 <field type="SlugField" name="slug">motto</field>
425 <field type="TextField" name="params">{"tag": "motto"}</field>
426 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
427 <field type="CharField" name="link"/>
428 <field type="CharField" name="key"/>
429 <field type="PositiveIntegerField" name="key_mod">0</field>
430 <field type="CharField" name="tooltip"/>
431 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
436 <object pk="37" model="toolbar.button">
437 <field type="CharField" name="label">motto podpis</field>
438 <field type="SlugField" name="slug">motto-podpis</field>
439 <field type="TextField" name="params">{"tag": "motto_podpis"}</field>
440 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
441 <field type="CharField" name="link"/>
442 <field type="CharField" name="key"/>
443 <field type="PositiveIntegerField" name="key_mod">0</field>
444 <field type="CharField" name="tooltip"/>
445 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
450 <object pk="16" model="toolbar.button">
451 <field type="CharField" name="label">nagłówek kwestii</field>
452 <field type="SlugField" name="slug">naglowek-kwestii</field>
453 <field type="TextField" name="params">{"tag": "naglowek_osoba"}</field>
454 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
455 <field type="CharField" name="link"/>
456 <field type="CharField" name="key"/>
457 <field type="PositiveIntegerField" name="key_mod">0</field>
458 <field type="CharField" name="tooltip"/>
459 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
463 <object pk="33" model="toolbar.button">
464 <field type="CharField" name="label">nazwa utworu</field>
465 <field type="SlugField" name="slug">nazwa-utworu</field>
466 <field type="TextField" name="params">{"tag": "nazwa_utworu"}</field>
467 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
468 <field type="CharField" name="link"/>
469 <field type="CharField" name="key"/>
470 <field type="PositiveIntegerField" name="key_mod">0</field>
471 <field type="CharField" name="tooltip"/>
472 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
476 <object pk="35" model="toolbar.button">
477 <field type="CharField" name="label">nota</field>
478 <field type="SlugField" name="slug">nota</field>
479 <field type="TextField" name="params">{"tag": "nota"}</field>
480 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
481 <field type="CharField" name="link"/>
482 <field type="CharField" name="key"/>
483 <field type="PositiveIntegerField" name="key_mod">0</field>
484 <field type="CharField" name="tooltip"/>
485 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
489 <object pk="18" model="toolbar.button">
490 <field type="CharField" name="label">opowiadanie</field>
491 <field type="SlugField" name="slug">opowiadanie</field>
492 <field type="TextField" name="params">{"tag": "opowiadanie"}</field>
493 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
494 <field type="CharField" name="link"/>
495 <field type="CharField" name="key"/>
496 <field type="PositiveIntegerField" name="key_mod">0</field>
497 <field type="CharField" name="tooltip"/>
498 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
502 <object pk="64" model="toolbar.button">
503 <field type="CharField" name="label">osoba</field>
504 <field type="SlugField" name="slug">osoba</field>
505 <field type="TextField" name="params">{"tag": "osoba"}</field>
506 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
507 <field type="CharField" name="link"/>
508 <field type="CharField" name="key">b</field>
509 <field type="PositiveIntegerField" name="key_mod">1</field>
510 <field type="CharField" name="tooltip">Alt+b</field>
511 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
515 <object pk="90" model="toolbar.button">
516 <field type="CharField" name="label">Odśwież</field>
517 <field type="SlugField" name="slug">panel-refresh</field>
518 <field type="TextField" name="params">[]</field>
519 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">refresh_panel</field>
520 <field type="CharField" name="link"/>
521 <field type="CharField" name="key"/>
522 <field type="PositiveIntegerField" name="key_mod">0</field>
523 <field type="CharField" name="tooltip"/>
524 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
530 <object pk="12" model="toolbar.button">
531 <field type="CharField" name="label">podrozdział</field>
532 <field type="SlugField" name="slug">podrozdzial</field>
533 <field type="TextField" name="params">{"tag": "naglowek_podrozdzial"}</field>
534 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
535 <field type="CharField" name="link"/>
536 <field type="CharField" name="key"/>
537 <field type="PositiveIntegerField" name="key_mod">0</field>
538 <field type="CharField" name="tooltip"/>
539 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
543 <object pk="34" model="toolbar.button">
544 <field type="CharField" name="label">podtytuł</field>
545 <field type="SlugField" name="slug">podtytul</field>
546 <field type="TextField" name="params">{"tag": "podtytul"}</field>
547 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
548 <field type="CharField" name="link"/>
549 <field type="CharField" name="key"/>
550 <field type="PositiveIntegerField" name="key_mod">0</field>
551 <field type="CharField" name="tooltip"/>
552 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
556 <object pk="19" model="toolbar.button">
557 <field type="CharField" name="label">powieść</field>
558 <field type="SlugField" name="slug">powiesc</field>
559 <field type="TextField" name="params">{"tag": "powiesc"}</field>
560 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
561 <field type="CharField" name="link"/>
562 <field type="CharField" name="key"/>
563 <field type="PositiveIntegerField" name="key_mod">0</field>
564 <field type="CharField" name="tooltip"/>
565 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
569 <object pk="86" model="toolbar.button">
570 <field type="CharField" name="label">Wydrukuj</field>
571 <field type="SlugField" name="slug">print-xml</field>
572 <field type="TextField" name="params">[]</field>
573 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
574 <field type="CharField" name="link">print/xml</field>
575 <field type="CharField" name="key"/>
576 <field type="PositiveIntegerField" name="key_mod">0</field>
577 <field type="CharField" name="tooltip"/>
578 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
582 <object pk="68" model="toolbar.button">
583 <field type="CharField" name="label">przypis autorski</field>
584 <field type="SlugField" name="slug">przypis-autorski</field>
585 <field type="TextField" name="params">{"tag": "pa"}</field>
586 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
587 <field type="CharField" name="link"/>
588 <field type="CharField" name="key"/>
589 <field type="PositiveIntegerField" name="key_mod">0</field>
590 <field type="CharField" name="tooltip"/>
591 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
595 <object pk="71" model="toolbar.button">
596 <field type="CharField" name="label">przypis edytorski</field>
597 <field type="SlugField" name="slug">przypis-edytorski</field>
598 <field type="TextField" name="params">{"tag": "pe"}</field>
599 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
600 <field type="CharField" name="link"/>
601 <field type="CharField" name="key"/>
602 <field type="PositiveIntegerField" name="key_mod">0</field>
603 <field type="CharField" name="tooltip"/>
604 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
608 <object pk="70" model="toolbar.button">
609 <field type="CharField" name="label">przypis redaktorski</field>
610 <field type="SlugField" name="slug">przypis-redaktorski</field>
611 <field type="TextField" name="params">{"tag": "pr"}</field>
612 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
613 <field type="CharField" name="link"/>
614 <field type="CharField" name="key"/>
615 <field type="PositiveIntegerField" name="key_mod">0</field>
616 <field type="CharField" name="tooltip"/>
617 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
621 <object pk="69" model="toolbar.button">
622 <field type="CharField" name="label">przypis tłumacza</field>
623 <field type="SlugField" name="slug">przypis-tlumacza</field>
624 <field type="TextField" name="params">{"tag": "pt"}</field>
625 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
626 <field type="CharField" name="link"/>
627 <field type="CharField" name="key"/>
628 <field type="PositiveIntegerField" name="key_mod">0</field>
629 <field type="CharField" name="tooltip"/>
630 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
634 <object pk="7" model="toolbar.button">
635 <field type="CharField" name="label">A<sup>=</sup></field>
636 <field type="SlugField" name="slug">reset_font_size</field>
637 <field type="TextField" name="params">{"fontSize": 13}</field>
638 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
639 <field type="CharField" name="link"/>
640 <field type="CharField" name="key"/>
641 <field type="PositiveIntegerField" name="key_mod">0</field>
642 <field type="CharField" name="tooltip">Przywróć orginalny rozmiar czcionki.</field>
643 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
647 <object pk="11" model="toolbar.button">
648 <field type="CharField" name="label">rozdział</field>
649 <field type="SlugField" name="slug">rozdzial</field>
650 <field type="TextField" name="params">{"tag": "naglowek_rozdzial"}</field>
651 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
652 <field type="CharField" name="link"/>
653 <field type="CharField" name="key"/>
654 <field type="PositiveIntegerField" name="key_mod">0</field>
655 <field type="CharField" name="tooltip"/>
656 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
660 <object pk="15" model="toolbar.button">
661 <field type="CharField" name="label">scena</field>
662 <field type="SlugField" name="slug">scena</field>
663 <field type="TextField" name="params">{"tag": "naglowek_scena"}</field>
664 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
665 <field type="CharField" name="link"/>
666 <field type="CharField" name="key"/>
667 <field type="PositiveIntegerField" name="key_mod">0</field>
668 <field type="CharField" name="tooltip"/>
669 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
673 <object pk="54" model="toolbar.button">
674 <field type="CharField" name="label">sep. asteryks</field>
675 <field type="SlugField" name="slug">sep-asteryks</field>
676 <field type="TextField" name="params">{"tag": "sekcja_asteryks"}</field>
677 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
678 <field type="CharField" name="link"/>
679 <field type="CharField" name="key"/>
680 <field type="PositiveIntegerField" name="key_mod">0</field>
681 <field type="CharField" name="tooltip"/>
682 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
686 <object pk="55" model="toolbar.button">
687 <field type="CharField" name="label">sep. linia</field>
688 <field type="SlugField" name="slug">sep-linia</field>
689 <field type="TextField" name="params">{"tag": "separator_linia"}</field>
690 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
691 <field type="CharField" name="link"/>
692 <field type="CharField" name="key"/>
693 <field type="PositiveIntegerField" name="key_mod">0</field>
694 <field type="CharField" name="tooltip"/>
695 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
699 <object pk="53" model="toolbar.button">
700 <field type="CharField" name="label">sep. światło</field>
701 <field type="SlugField" name="slug">sep-swiatlo</field>
702 <field type="TextField" name="params">{"tag": "sekcja_swiatlo"}</field>
703 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
704 <field type="CharField" name="link"/>
705 <field type="CharField" name="key"/>
706 <field type="PositiveIntegerField" name="key_mod">0</field>
707 <field type="CharField" name="tooltip"/>
708 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
712 <object pk="46" model="toolbar.button">
713 <field type="CharField" name="label">słowo obce</field>
714 <field type="SlugField" name="slug">slowo-obce</field>
715 <field type="TextField" name="params">{"tag": "slowo_obce"}</field>
716 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
717 <field type="CharField" name="link"/>
718 <field type="CharField" name="key"/>
719 <field type="PositiveIntegerField" name="key_mod">0</field>
720 <field type="CharField" name="tooltip"/>
721 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
725 <object pk="88" model="toolbar.button">
726 <field type="CharField" name="label">Wydziel</field>
727 <field type="SlugField" name="slug">split-text-from-xmleditor</field>
728 <field type="TextField" name="params">[]</field>
729 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">show_splitmodal</field>
730 <field type="CharField" name="link"/>
731 <field type="CharField" name="key"/>
732 <field type="PositiveIntegerField" name="key_mod">0</field>
733 <field type="CharField" name="tooltip"/>
734 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
738 <object pk="13" model="toolbar.button">
739 <field type="CharField" name="label">śródtytuł</field>
740 <field type="SlugField" name="slug">srodtytul</field>
741 <field type="TextField" name="params">{"tag": "srodtytul"}</field>
742 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
743 <field type="CharField" name="link"/>
744 <field type="CharField" name="key"/>
745 <field type="PositiveIntegerField" name="key_mod">0</field>
746 <field type="CharField" name="tooltip"/>
747 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
751 <object pk="3" model="toolbar.button">
752 <field type="CharField" name="label">Usuń spację</field>
753 <field type="SlugField" name="slug">strip_whitespace</field>
754 <field type="TextField" name="params">{"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "], ["(,,)\\s+|\\s+(\")", "$1"]]}</field>
755 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
756 <field type="CharField" name="link"/>
757 <field type="CharField" name="key"/>
758 <field type="PositiveIntegerField" name="key_mod">0</field>
759 <field type="CharField" name="tooltip">Usuwa zbędne spację z dokumentu.</field>
760 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
764 <object pk="81" model="toolbar.button">
765 <field type="CharField" name="label">strofa</field>
766 <field type="SlugField" name="slug">strofa</field>
767 <field type="TextField" name="params">{"tag": "strofa"}</field>
768 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_stanza</field>
769 <field type="CharField" name="link"/>
770 <field type="CharField" name="key">s</field>
771 <field type="PositiveIntegerField" name="key_mod">1</field>
772 <field type="CharField" name="tooltip"> </field>
773 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
778 <object pk="17" model="toolbar.button">
779 <field type="CharField" name="label">tagi główne</field>
780 <field type="SlugField" name="slug">tagi-glowne</field>
781 <field type="TextField" name="params">{"tag": "utwor"}</field>
782 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
783 <field type="CharField" name="link"/>
784 <field type="CharField" name="key"/>
785 <field type="PositiveIntegerField" name="key_mod">0</field>
786 <field type="CharField" name="tooltip"/>
787 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
791 <object pk="76" model="toolbar.button">
792 <field type="CharField" name="label">A<sup>↓</sup></field>
793 <field type="SlugField" name="slug">tolowercase</field>
794 <field type="TextField" name="params">[]</field>
795 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lowercase</field>
796 <field type="CharField" name="link"/>
797 <field type="CharField" name="key">u</field>
798 <field type="PositiveIntegerField" name="key_mod">5</field>
799 <field type="CharField" name="tooltip">Zamień wielkie litery na małe.</field>
800 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
804 <object pk="92" model="toolbar.button">
805 <field type="CharField" name="label">tytuł dzieła</field>
806 <field type="SlugField" name="slug">tytul-dziela</field>
807 <field type="TextField" name="params">{"tag": "tytul_dziela"}</field>
808 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
809 <field type="CharField" name="link"/>
810 <field type="CharField" name="key"/>
811 <field type="PositiveIntegerField" name="key_mod">0</field>
812 <field type="CharField" name="tooltip"/>
813 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
817 <object pk="45" model="toolbar.button">
818 <field type="CharField" name="label">tytuł dzieła typ 1</field>
819 <field type="SlugField" name="slug">tytul-dziela-typ</field>
820 <field type="TextField" name="params">{"tag": "tytul_dziela", "attrs": {"typ": "1"}}</field>
821 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
822 <field type="CharField" name="link"/>
823 <field type="CharField" name="key"/>
824 <field type="PositiveIntegerField" name="key_mod">0</field>
825 <field type="CharField" name="tooltip"/>
826 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
830 <object pk="51" model="toolbar.button">
831 <field type="CharField" name="label">uwaga</field>
832 <field type="SlugField" name="slug">uwaga</field>
833 <field type="TextField" name="params">{"tag": "uwaga"}</field>
834 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
835 <field type="CharField" name="link"/>
836 <field type="CharField" name="key"/>
837 <field type="PositiveIntegerField" name="key_mod">0</field>
838 <field type="CharField" name="tooltip"/>
839 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
843 <object pk="83" model="toolbar.button">
844 <field type="CharField" name="label">wers akap.</field>
845 <field type="SlugField" name="slug">wers-akap</field>
846 <field type="TextField" name="params">{"tag": "wers_akap"}</field>
847 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
848 <field type="CharField" name="link"/>
849 <field type="CharField" name="key"/>
850 <field type="PositiveIntegerField" name="key_mod">0</field>
851 <field type="CharField" name="tooltip"/>
852 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
857 <object pk="85" model="toolbar.button">
858 <field type="CharField" name="label">wers cd.</field>
859 <field type="SlugField" name="slug">wers-cd</field>
860 <field type="TextField" name="params">{"tag": "wers_cd"}</field>
861 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
862 <field type="CharField" name="link"/>
863 <field type="CharField" name="key"/>
864 <field type="PositiveIntegerField" name="key_mod">0</field>
865 <field type="CharField" name="tooltip"/>
866 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
871 <object pk="84" model="toolbar.button">
872 <field type="CharField" name="label">wers m. wcięty</field>
873 <field type="SlugField" name="slug">wers-mocno-wciety</field>
874 <field type="TextField" name="params">{"tag": "wers_wciety", "attrs": {"typ": ""}}</field>
875 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
876 <field type="CharField" name="link"/>
877 <field type="CharField" name="key">w</field>
878 <field type="PositiveIntegerField" name="key_mod">1</field>
879 <field type="CharField" name="tooltip">Alt+w</field>
880 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
885 <object pk="91" model="toolbar.button">
886 <field type="CharField" name="label">wers wcięty</field>
887 <field type="SlugField" name="slug">wers-wciety</field>
888 <field type="TextField" name="params">{"tag": "wers-wciety"}</field>
889 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
890 <field type="CharField" name="link"/>
891 <field type="CharField" name="key">q</field>
892 <field type="PositiveIntegerField" name="key_mod">1</field>
893 <field type="CharField" name="tooltip">Alt+q</field>
894 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
899 <object pk="48" model="toolbar.button">
900 <field type="CharField" name="label">www</field>
901 <field type="SlugField" name="slug">www</field>
902 <field type="TextField" name="params">{"tag": "www"}</field>
903 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
904 <field type="CharField" name="link"/>
905 <field type="CharField" name="key"/>
906 <field type="PositiveIntegerField" name="key_mod">0</field>
907 <field type="CharField" name="tooltip"/>
908 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
912 <object pk="44" model="toolbar.button">
913 <field type="CharField" name="label">wyróżnienie</field>
914 <field type="SlugField" name="slug">wyroznienie</field>
915 <field type="TextField" name="params">{"tag": "wyroznienie"}</field>
916 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
917 <field type="CharField" name="link"/>
918 <field type="CharField" name="key"/>
919 <field type="PositiveIntegerField" name="key_mod">0</field>
920 <field type="CharField" name="tooltip"/>
921 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
925 <object pk="25" model="toolbar.button">
926 <field type="CharField" name="label">wywiad</field>
927 <field type="SlugField" name="slug">wywiad</field>
928 <field type="TextField" name="params">{"tag": "wywiad"}</field>
929 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
930 <field type="CharField" name="link"/>
931 <field type="CharField" name="key"/>
932 <field type="PositiveIntegerField" name="key_mod">0</field>
933 <field type="CharField" name="tooltip"/>
934 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
938 <object pk="73" model="toolbar.button">
939 <field type="CharField" name="label">wywiad odpowiedź</field>
940 <field type="SlugField" name="slug">wywiad-odpowiedz</field>
941 <field type="TextField" name="params">{"tag": "wywiad_odp"}</field>
942 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
943 <field type="CharField" name="link"/>
944 <field type="CharField" name="key"/>
945 <field type="PositiveIntegerField" name="key_mod">0</field>
946 <field type="CharField" name="tooltip"/>
947 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
951 <object pk="72" model="toolbar.button">
952 <field type="CharField" name="label">wywiad pytanie</field>
953 <field type="SlugField" name="slug">wywiad-pytanie</field>
954 <field type="TextField" name="params">{"tag": "wywiad_pyt"}</field>
955 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
956 <field type="CharField" name="link"/>
957 <field type="CharField" name="key"/>
958 <field type="PositiveIntegerField" name="key_mod">0</field>
959 <field type="CharField" name="tooltip"/>
960 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
964 <object pk="89" model="toolbar.button">
965 <field type="CharField" name="label">Zamień Cudzysłów PT</field>
966 <field type="SlugField" name="slug">zamien-cudzyslow-pt</field>
967 <field type="TextField" name="params">{"exprs": [["\u00ab|\u201e", ",,"], ["\u00bb", "\""], ["([^=])\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", "$1,,$2"], ["^\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", ",,$1"], ["(,,)\\s+|\\s+(\")", "$1"]]}</field>
968 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
969 <field type="CharField" name="link"/>
970 <field type="CharField" name="key"/>
971 <field type="PositiveIntegerField" name="key_mod">0</field>
972 <field type="CharField" name="tooltip">Zamienia cudzysłowy (Pan Tadeusz Style)</field>
973 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
977 <object pk="77" model="toolbar.button">
978 <field type="CharField" name="label">Zamień cudzysłowy</field>
979 <field type="SlugField" name="slug">zamien-cudzyslowy</field>
980 <field type="TextField" name="params">{"exprs": [["\u00bb|\u201e", ",,"], ["\u00ab", "\""], ["([^=])\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", "$1,,$2"], ["^\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", ",,$1"], ["(,,)\\s+|\\s+(\")", "$1"]]}</field>
981 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
982 <field type="CharField" name="link"/>
983 <field type="CharField" name="key"/>
984 <field type="PositiveIntegerField" name="key_mod">0</field>
985 <field type="CharField" name="tooltip"/>
986 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
990 <object pk="2" model="toolbar.button">
991 <field type="CharField" name="label">Zamień dywiz</field>
992 <field type="SlugField" name="slug">zamien_dywiz</field>
993 <field type="TextField" name="params">{"exprs": [["(\\s)-(\\s)", "$1---$2"], ["^(\\s*)-(\\s)", "$1---$2"], ["(\\s)-(\\s*)$", "$1---$2"], ["(\\d)[\u2014-](\\d)", "$1--$2"], ["\u2014", "---"]]}</field>
994 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
995 <field type="CharField" name="link"/>
996 <field type="CharField" name="key"/>
997 <field type="PositiveIntegerField" name="key_mod">0</field>
998 <field type="CharField" name="tooltip">Zamienia '—' na '---', oraz '1—2' na '1--2'.</field>
999 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
1003 <object pk="56" model="toolbar.button">
1004 <field type="CharField" name="label">zastępnik wersu</field>
1005 <field type="SlugField" name="slug">zastepnik-wersu</field>
1006 <field type="TextField" name="params">{"tag": "zastepnik_wersu"}</field>
1007 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
1008 <field type="CharField" name="link"/>
1009 <field type="CharField" name="key"/>
1010 <field type="PositiveIntegerField" name="key_mod">0</field>
1011 <field type="CharField" name="tooltip"/>
1012 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
1016 <object pk="insert_tag" model="toolbar.scriptlet">
1017 <field type="TextField" name="code">var texteditor = panel.texteditor;
1019 var text = texteditor.selection();
1021 var out = '<'+params.tag;
1023 for (var attr in params.attrs) {
1025 out += ' '+attr+'="' + params.attrs[attr] + '"';
1033 out += '</' + params.tag + '>';
1037 texteditor.replaceSelection(out);
1041 if (text.length == 0) {
1043 var pos = texteditor.cursorPosition();
1045 texteditor.selectLines(pos.line, pos.character + params.tag.length + 2);
1051 panel.fireEvent('contentChanged');</field>
1053 <object pk="lineregexp" model="toolbar.scriptlet">
1054 <field type="TextField" name="code">editor.showPopup('generic-info', 'Przetwarzanie zaznaczonego tekstu...', '', -1);
1056 var cm = panel.texteditor;
1057 var exprs = $.map(params.exprs, function(expr) {
1061 if(expr.length > 2)
1065 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
1073 var text = cm.selection();
1079 var cpos = cm.cursorPosition();
1081 cpos.line = cm.lineNumber(cpos.line)
1083 cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
1085 text = cm.selection();
1094 var lines = text.split('\n');
1095 var lines = $.map(lines, function(line) {
1096 var old_line = line;
1097 $(exprs).each(function() {
1099 line = line.replace(expr.rx, expr.repl);
1102 if(old_line != line) changed += 1;
1108 cm.replaceSelection( lines.join('\n') );
1109 panel.fireEvent('contentChanged');
1110 editor.showPopup('generic-yes', 'Zmieniono ' + changed + ' linii.', 1500);
1111 editor.advancePopupQueue();
1114 editor.showPopup('generic-info', 'Brak zmian w tekście', 1500);
1115 editor.advancePopupQueue();
1119 cm.selectLines( cm.nthLine(cpos.line), cpos.character )</field>
1121 <object pk="codemirror_fontsize" model="toolbar.scriptlet">
1122 <field type="TextField" name="code">var texteditor = panel.texteditor;
1124 var frameBody = $('body', $(texteditor.frame).contents());
1128 if(params.fontSize) {
1130 frameBody.css('font-size', params.fontSize);
1136 var old_size = parseInt(frameBody.css('font-size'));
1138 frameBody.css('font-size', old_size + (params.change || 0) );
1142 <object pk="fulltextregexp" model="toolbar.scriptlet">
1143 <field type="TextField" name="code">editor.showPopup('generic-info', 'Przetwarzanie zaznaczonego tekstu...', '', -1);
1144 $.log(editor, panel, params);
1145 var cm = panel.texteditor;
1146 var exprs = $.map(params.exprs, function(expr) {
1148 if(expr.length > 2)
1151 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
1155 var text = cm.selection();
1158 var cpos = cm.cursorPosition();
1159 cpos.line = cm.lineNumber(cpos.line)
1160 cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
1162 text = cm.selection();
1166 var original = text;
1167 $(exprs).each(function() {
1168 text = text.replace(this.rx, this.repl);
1171 if( original != text)
1173 cm.replaceSelection(text);
1174 panel.fireEvent('contentChanged');
1175 editor.showPopup('generic-yes', 'Zmieniono tekst' );
1176 editor.advancePopupQueue();
1179 editor.showPopup('generic-info', 'Brak zmian w tekście.');
1180 editor.advancePopupQueue();
1184 cm.selectLines( cm.nthLine(cpos.line), cpos.character );
1187 <object pk="macro" model="toolbar.scriptlet">
1188 <field type="TextField" name="code">$(params).each(function() {
1189 $.log(this[0], this[1]);
1190 editor.callScriptlet(this[0], panel, this[1]);
1194 <object pk="lowercase" model="toolbar.scriptlet">
1195 <field type="TextField" name="code">var cm = panel.texteditor;
1196 var text = cm.selection();
1200 var lcase = text.toLowerCase();
1201 var ucase = text.toUpperCase();
1203 if(lcase == text) repl = ucase; /* was lowercase */
1204 else if(ucase != text) repl = lcase; /* neither lower- or upper-case */
1205 else { /* upper case -> camel-case */
1207 $(lcase.split(/\s/)).each(function() {
1208 if(this.length > 0) repl += this[0].toUpperCase() + this.slice(1) + ' ';
1213 cm.replaceSelection(repl);
1214 panel.fireEvent('contentChanged');
1217 <object pk="insert_stanza" model="toolbar.scriptlet">
1218 <field type="TextField" name="code">var texteditor = panel.texteditor;
1219 var text = texteditor.selection();
1222 var verses = text.split('\n');
1223 var text = ''; var buf = ''; var ebuf = '';
1226 for(var i=0; i < verses.length; i++) {
1227 verse = verses[i].replace(/^\s+/, "").replace(/\s+$/, "");
1229 text += (buf ? buf + '\\\n' : '') + ebuf;
1230 buf = (first ? '<strofa>\n' : '') + verses[i];
1234 ebuf += '\n' + verses[i];
1237 text = text + buf + '\n</strofa>' + ebuf;
1238 texteditor.replaceSelection(text);
1242 var pos = texteditor.cursorPosition();
1243 texteditor.selectLines(pos.line, pos.character + 6 + 2);
1252 panel.fireEvent('contentChanged');</field>
1254 <object pk="show_splitmodal" model="toolbar.scriptlet">
1255 <field type="TextField" name="code">var cm = panel.texteditor;
1259 var text = cm.selection();
1265 cm.replaceSelection('<include-tag-placeholder />');
1267 var fulltext = cm.getCode();
1271 $('#split-dialog').jqmShow({
1273 selection: text, fulltext: fulltext,
1275 success: function(uri) {
1277 editor.refreshPanels();
1281 failure: function() { cm.undo(); }
1285 <object pk="show_dialog" model="toolbar.scriptlet">
1286 <field type="TextField" name="code">$(params[0]).jqmShow({editor: editor, panel: panel, params: params});</field>
1288 <object pk="refresh_panel" model="toolbar.scriptlet">
1289 <field type="TextField" name="code">panel.refresh();</field>