1 <?xml version="1.0" encoding="utf-8"?>
2 <django-objects version="1.0">
3 <object pk="14" model="toolbar.buttongroup">
4 <field type="CharField" name="name">Akapity i długie cytaty</field>
5 <field type="SlugField" name="slug">akapity-i-dlugie-cytaty</field>
6 <field type="IntegerField" name="position">0</field>
8 <object pk="2" model="toolbar.buttongroup">
9 <field type="CharField" name="name">Autokorekta</field>
10 <field type="SlugField" name="slug">autokorekta</field>
11 <field type="IntegerField" name="position">0</field>
13 <object pk="21" model="toolbar.buttongroup">
14 <field type="CharField" name="name">Bloki</field>
15 <field type="SlugField" name="slug">bloki</field>
16 <field type="IntegerField" name="position">0</field>
18 <object pk="20" model="toolbar.buttongroup">
19 <field type="CharField" name="name">Bloki początkowe</field>
20 <field type="SlugField" name="slug">bloki-poczatkowe</field>
21 <field type="IntegerField" name="position">0</field>
23 <object pk="19" model="toolbar.buttongroup">
24 <field type="CharField" name="name">Deklaracje</field>
25 <field type="SlugField" name="slug">deklaracje</field>
26 <field type="IntegerField" name="position">0</field>
28 <object pk="12" model="toolbar.buttongroup">
29 <field type="CharField" name="name">Dramat wierszowany</field>
30 <field type="SlugField" name="slug">dramat-wierszowany</field>
31 <field type="IntegerField" name="position">0</field>
33 <object pk="18" model="toolbar.buttongroup">
34 <field type="CharField" name="name">Dramat współczesny</field>
35 <field type="SlugField" name="slug">dramat-wspolczesny</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="23" model="toolbar.buttongroup">
44 <field type="CharField" name="name">Mastery</field>
45 <field type="SlugField" name="slug">mastery</field>
46 <field type="IntegerField" name="position">0</field>
48 <object pk="1" model="toolbar.buttongroup">
49 <field type="CharField" name="name">Nagłówki</field>
50 <field type="SlugField" name="slug">naglowki</field>
51 <field type="IntegerField" name="position">0</field>
53 <object pk="22" model="toolbar.buttongroup">
54 <field type="CharField" name="name">Początek dramatu</field>
55 <field type="SlugField" name="slug">poczatek-dramatu</field>
56 <field type="IntegerField" name="position">0</field>
58 <object pk="16" model="toolbar.buttongroup">
59 <field type="CharField" name="name">Polecenia</field>
60 <field type="SlugField" name="slug">polecenia</field>
61 <field type="IntegerField" name="position">0</field>
63 <object pk="11" model="toolbar.buttongroup">
64 <field type="CharField" name="name">Strukturalne</field>
65 <field type="SlugField" name="slug">strukturalne</field>
66 <field type="IntegerField" name="position">0</field>
68 <object pk="15" model="toolbar.buttongroup">
69 <field type="CharField" name="name">Style znakowe</field>
70 <field type="SlugField" name="slug">style-znakowe</field>
71 <field type="IntegerField" name="position">0</field>
73 <object pk="17" model="toolbar.buttongroup">
74 <field type="CharField" name="name">Wersy</field>
75 <field type="SlugField" name="slug">wersy</field>
76 <field type="IntegerField" name="position">0</field>
78 <object pk="3" model="toolbar.buttongroup">
79 <field type="CharField" name="name">Widok</field>
80 <field type="SlugField" name="slug">display_options</field>
81 <field type="IntegerField" name="position">2</field>
83 <object pk="5" model="toolbar.button">
84 <field type="CharField" name="label">A<sup>+</sup></field>
85 <field type="SlugField" name="slug">increase_font_size</field>
86 <field type="TextField" name="params">{"change": 2}</field>
87 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
88 <field type="CharField" name="key">+</field>
89 <field type="CharField" name="tooltip">Zwiększ rozmiar czcionki.</field>
90 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
94 <object pk="6" model="toolbar.button">
95 <field type="CharField" name="label">A<sup>-</sup></field>
96 <field type="SlugField" name="slug">descrease_font_size</field>
97 <field type="TextField" name="params">{"change": -2}</field>
98 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
99 <field type="CharField" name="key">-</field>
100 <field type="CharField" name="tooltip">Zmniejsz rozmiar czcionki.</field>
101 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
105 <object pk="7" model="toolbar.button">
106 <field type="CharField" name="label">A<sup>=</sup></field>
107 <field type="SlugField" name="slug">reset_font_size</field>
108 <field type="TextField" name="params">{"fontSize": 13}</field>
109 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
110 <field type="CharField" name="key">=</field>
111 <field type="CharField" name="tooltip">Przywróć orginalny rozmiar czcionki.</field>
112 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
116 <object pk="76" model="toolbar.button">
117 <field type="CharField" name="label">A<sup>↓</sup></field>
118 <field type="SlugField" name="slug">tolowercase</field>
119 <field type="TextField" name="params">[]</field>
120 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lowercase</field>
121 <field type="CharField" name="key">u</field>
122 <field type="CharField" name="tooltip">Zamień wielkie litery na małe.</field>
123 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
127 <object pk="4" model="toolbar.button">
128 <field type="CharField" name="label">Podstawowa</field>
129 <field type="SlugField" name="slug">basic_correction</field>
130 <field type="TextField" name="params">{"exprs": [["\n\\d+\n", "\n"], ["-\\s*\n+", ""], ["\\,\\.\\.|\\.\\,\\.|\\.\\.\\,", "..."]]}</field>
131 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">fulltextregexp</field>
132 <field type="CharField" name="key"/>
133 <field type="CharField" name="tooltip">Wykonuję operację z novel-pages i poem-pages.</field>
134 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
138 <object pk="3" model="toolbar.button">
139 <field type="CharField" name="label">Usuń spację</field>
140 <field type="SlugField" name="slug">strip_whitespace</field>
141 <field type="TextField" name="params">{"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "]]}</field>
142 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
143 <field type="CharField" name="key"/>
144 <field type="CharField" name="tooltip">Usuwa zbędne spację z dokumentu.</field>
145 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
149 <object pk="77" model="toolbar.button">
150 <field type="CharField" name="label">Zamień Cudzysłowy</field>
151 <field type="SlugField" name="slug">zamien-cudzyslowy</field>
152 <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"]]}</field>
153 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
154 <field type="CharField" name="key"/>
155 <field type="CharField" name="tooltip"/>
156 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
160 <object pk="2" model="toolbar.button">
161 <field type="CharField" name="label">Zamień dywiz</field>
162 <field type="SlugField" name="slug">zamien_dywiz</field>
163 <field type="TextField" name="params">{"exprs": [["(\\d)[\u2014-](\\d)", "$1--$2"], ["\u2014", "---"]]}</field>
164 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
165 <field type="CharField" name="key"/>
166 <field type="CharField" name="tooltip">Zamienia '—' na '---', oraz '1—2' na '1--2'.</field>
167 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
171 <object pk="39" model="toolbar.button">
172 <field type="CharField" name="label">akapit</field>
173 <field type="SlugField" name="slug">akapit</field>
174 <field type="TextField" name="params">{"tag": "akap"}</field>
175 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
176 <field type="CharField" name="key"/>
177 <field type="CharField" name="tooltip"/>
178 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
182 <object pk="40" model="toolbar.button">
183 <field type="CharField" name="label">akapit cd.</field>
184 <field type="SlugField" name="slug">akapit-cd</field>
185 <field type="TextField" name="params">{"tag": "akap_cd"}</field>
186 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
187 <field type="CharField" name="key"/>
188 <field type="CharField" name="tooltip"/>
189 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
193 <object pk="41" model="toolbar.button">
194 <field type="CharField" name="label">akapit dialogowy</field>
195 <field type="SlugField" name="slug">akapit-dialogowy</field>
196 <field type="TextField" name="params">{"tag": "akap_dialog"}</field>
197 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
198 <field type="CharField" name="key"/>
199 <field type="CharField" name="tooltip"/>
200 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
204 <object pk="14" model="toolbar.button">
205 <field type="CharField" name="label">akt</field>
206 <field type="SlugField" name="slug">akt</field>
207 <field type="TextField" name="params">{"tag": "akt"}</field>
208 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
209 <field type="CharField" name="key"/>
210 <field type="CharField" name="tooltip"/>
211 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
215 <object pk="32" model="toolbar.button">
216 <field type="CharField" name="label">autor</field>
217 <field type="SlugField" name="slug">autor</field>
218 <field type="TextField" name="params">{"tag": "autor"}</field>
219 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
220 <field type="CharField" name="key"/>
221 <field type="CharField" name="tooltip"/>
222 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
226 <object pk="10" model="toolbar.button">
227 <field type="CharField" name="label">część/księga</field>
228 <field type="SlugField" name="slug">czesc</field>
229 <field type="TextField" name="params">{"tag": "naglowek_czesc"}</field>
230 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
231 <field type="CharField" name="key"/>
232 <field type="CharField" name="tooltip"/>
233 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
237 <object pk="65" model="toolbar.button">
238 <field type="CharField" name="label">dedykacja</field>
239 <field type="SlugField" name="slug">dedykacja</field>
240 <field type="TextField" name="params">{"tag": "dedykacja"}</field>
241 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
242 <field type="CharField" name="key"/>
243 <field type="CharField" name="tooltip"/>
244 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
248 <object pk="74" model="toolbar.button">
249 <field type="CharField" name="label">dedykacja</field>
250 <field type="SlugField" name="slug">dedykacja</field>
251 <field type="TextField" name="params">{"tag": "dedykacja"}</field>
252 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
253 <field type="CharField" name="key"/>
254 <field type="CharField" name="tooltip"/>
255 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
259 <object pk="31" model="toolbar.button">
260 <field type="CharField" name="label">didaskalia</field>
261 <field type="SlugField" name="slug">didaskalia</field>
262 <field type="TextField" name="params">{"tag": "didaskalia"}</field>
263 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
264 <field type="CharField" name="key"/>
265 <field type="CharField" name="tooltip"/>
266 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
270 <object pk="62" model="toolbar.button">
271 <field type="CharField" name="label">didaskalia</field>
272 <field type="SlugField" name="slug">didaskalia</field>
273 <field type="TextField" name="params">{"tag": "didaskalia"}</field>
274 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
275 <field type="CharField" name="key"/>
276 <field type="CharField" name="tooltip"/>
277 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
281 <object pk="49" model="toolbar.button">
282 <field type="CharField" name="label">didaskalia wewn.</field>
283 <field type="SlugField" name="slug">didaskalia-wewn</field>
284 <field type="TextField" name="params">{"tag": "didask_tekst"}</field>
285 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
286 <field type="CharField" name="key"/>
287 <field type="CharField" name="tooltip"/>
288 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
292 <object pk="63" model="toolbar.button">
293 <field type="CharField" name="label">didaskalia wewn.</field>
294 <field type="SlugField" name="slug">didaskalia-wewn</field>
295 <field type="TextField" name="params">{"tag": "didask_tekst"}</field>
296 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
297 <field type="CharField" name="key"/>
298 <field type="CharField" name="tooltip"/>
299 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
303 <object pk="20" model="toolbar.button">
304 <field type="CharField" name="label">dramat wiersz.</field>
305 <field type="SlugField" name="slug">dramat-wiersz</field>
306 <field type="TextField" name="params">{"tag": "dramat_wierszowany_l"}</field>
307 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
308 <field type="CharField" name="key"/>
309 <field type="CharField" name="tooltip"/>
310 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
314 <object pk="22" model="toolbar.button">
315 <field type="CharField" name="label">dramat wiersz./w. łam</field>
316 <field type="SlugField" name="slug">dramat-wiersz-w-lam</field>
317 <field type="TextField" name="params">{"tag": "dramat_wierszowany_lp"}</field>
318 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
319 <field type="CharField" name="key"/>
320 <field type="CharField" name="tooltip"/>
321 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
325 <object pk="21" model="toolbar.button">
326 <field type="CharField" name="label">dramat współczesny</field>
327 <field type="SlugField" name="slug">dramat-wspolczesny</field>
328 <field type="TextField" name="params">{"tag": "dramat_wspolczesny"}</field>
329 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
330 <field type="CharField" name="key"/>
331 <field type="CharField" name="tooltip"/>
332 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
336 <object pk="38" model="toolbar.button">
337 <field type="CharField" name="label">dzieło nadrzędne</field>
338 <field type="SlugField" name="slug">dzielo-nadrzedne</field>
339 <field type="TextField" name="params">{"tag": "dzielo_nadrzedne"}</field>
340 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
341 <field type="CharField" name="key"/>
342 <field type="CharField" name="tooltip"/>
343 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
347 <object pk="67" model="toolbar.button">
348 <field type="CharField" name="label">długi cyt. poet.</field>
349 <field type="SlugField" name="slug">dlugi-cyt-poet</field>
350 <field type="TextField" name="params">{"tag": "poezja_cyt"}</field>
351 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
352 <field type="CharField" name="key"/>
353 <field type="CharField" name="tooltip"/>
354 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
358 <object pk="43" model="toolbar.button">
359 <field type="CharField" name="label">długi cyta. poet.</field>
360 <field type="SlugField" name="slug">dlugi-cyt-poet</field>
361 <field type="TextField" name="params">{"tag": "poezja_cyt"}</field>
362 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
363 <field type="CharField" name="key"/>
364 <field type="CharField" name="tooltip"/>
365 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
369 <object pk="42" model="toolbar.button">
370 <field type="CharField" name="label">długi cytat</field>
371 <field type="SlugField" name="slug">dlugi-cytat</field>
372 <field type="TextField" name="params">{"tag": "dlugi_cyt"}</field>
373 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
374 <field type="CharField" name="key"/>
375 <field type="CharField" name="tooltip"/>
376 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
381 <object pk="52" model="toolbar.button">
382 <field type="CharField" name="label">ekstra</field>
383 <field type="SlugField" name="slug">ekstra</field>
384 <field type="TextField" name="params">{"tag": "ekstra"}</field>
385 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
386 <field type="CharField" name="key"/>
387 <field type="CharField" name="tooltip"/>
388 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
392 <object pk="29" model="toolbar.button">
393 <field type="CharField" name="label">kwestia</field>
394 <field type="SlugField" name="slug">kwestia</field>
395 <field type="TextField" name="params">{"tag": "kwestia"}</field>
396 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
397 <field type="CharField" name="key"/>
398 <field type="CharField" name="tooltip"/>
399 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
403 <object pk="61" model="toolbar.button">
404 <field type="CharField" name="label">kwestia</field>
405 <field type="SlugField" name="slug">kwestia</field>
406 <field type="TextField" name="params">{"tag": "kwestia"}</field>
407 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
408 <field type="CharField" name="key"/>
409 <field type="CharField" name="tooltip"/>
410 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
414 <object pk="23" model="toolbar.button">
415 <field type="CharField" name="label">liryka</field>
416 <field type="SlugField" name="slug">liryka</field>
417 <field type="TextField" name="params">{"tag": "liryka_l"}</field>
418 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
419 <field type="CharField" name="key"/>
420 <field type="CharField" name="tooltip"/>
421 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
425 <object pk="24" model="toolbar.button">
426 <field type="CharField" name="label">liryka/w. łam</field>
427 <field type="SlugField" name="slug">liryka-w-lam</field>
428 <field type="TextField" name="params">{"tag": "liryka_lp"}</field>
429 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
430 <field type="CharField" name="key"/>
431 <field type="CharField" name="tooltip"/>
432 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
436 <object pk="47" model="toolbar.button">
437 <field type="CharField" name="label">mamtemat.</field>
438 <field type="SlugField" name="slug">matemat</field>
439 <field type="TextField" name="params">{"tag": "mat"}</field>
440 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
441 <field type="CharField" name="key"/>
442 <field type="CharField" name="tooltip"/>
443 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
447 <object pk="36" model="toolbar.button">
448 <field type="CharField" name="label">motto</field>
449 <field type="SlugField" name="slug">motto</field>
450 <field type="TextField" name="params">{"tag": "motto"}</field>
451 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
452 <field type="CharField" name="key"/>
453 <field type="CharField" name="tooltip"/>
454 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
458 <object pk="75" model="toolbar.button">
459 <field type="CharField" name="label">motto</field>
460 <field type="SlugField" name="slug">motto</field>
461 <field type="TextField" name="params">{"tag": "motto"}</field>
462 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
463 <field type="CharField" name="key"/>
464 <field type="CharField" name="tooltip"/>
465 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
469 <object pk="37" model="toolbar.button">
470 <field type="CharField" name="label">motto podpis</field>
471 <field type="SlugField" name="slug">motto-podpis</field>
472 <field type="TextField" name="params">{"tag": "motto_podpis"}</field>
473 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
474 <field type="CharField" name="key"/>
475 <field type="CharField" name="tooltip"/>
476 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
480 <object pk="16" model="toolbar.button">
481 <field type="CharField" name="label">nagłówek kwestii</field>
482 <field type="SlugField" name="slug">naglowek-kwestii</field>
483 <field type="TextField" name="params">{"tag": "naglowek_osoba"}</field>
484 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
485 <field type="CharField" name="key"/>
486 <field type="CharField" name="tooltip"/>
487 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
491 <object pk="35" model="toolbar.button">
492 <field type="CharField" name="label">nota</field>
493 <field type="SlugField" name="slug">nota</field>
494 <field type="TextField" name="params">{"tag": "nota"}</field>
495 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
496 <field type="CharField" name="key"/>
497 <field type="CharField" name="tooltip"/>
498 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
502 <object pk="18" model="toolbar.button">
503 <field type="CharField" name="label">opowiadanie</field>
504 <field type="SlugField" name="slug">opowiadanie</field>
505 <field type="TextField" name="params">{"tag": "opowiadanie"}</field>
506 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
507 <field type="CharField" name="key"/>
508 <field type="CharField" name="tooltip"/>
509 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
513 <object pk="50" model="toolbar.button">
514 <field type="CharField" name="label">osoba</field>
515 <field type="SlugField" name="slug">osoba</field>
516 <field type="TextField" name="params">{"tag": "osoba"}</field>
517 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
518 <field type="CharField" name="key"/>
519 <field type="CharField" name="tooltip"/>
520 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
524 <object pk="64" model="toolbar.button">
525 <field type="CharField" name="label">osoba</field>
526 <field type="SlugField" name="slug">osoba</field>
527 <field type="TextField" name="params">{"tag": "osoba"}</field>
528 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
529 <field type="CharField" name="key"/>
530 <field type="CharField" name="tooltip"/>
531 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
535 <object pk="12" model="toolbar.button">
536 <field type="CharField" name="label">podrozdział</field>
537 <field type="SlugField" name="slug">podrozdzial</field>
538 <field type="TextField" name="params">{"tag": "naglowek_podrozdzial"}</field>
539 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
540 <field type="CharField" name="key"/>
541 <field type="CharField" name="tooltip"/>
542 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
546 <object pk="34" model="toolbar.button">
547 <field type="CharField" name="label">podtytuł</field>
548 <field type="SlugField" name="slug">podtytul</field>
549 <field type="TextField" name="params">{"tag": "podtytul"}</field>
550 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
551 <field type="CharField" name="key"/>
552 <field type="CharField" name="tooltip"/>
553 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
557 <object pk="19" model="toolbar.button">
558 <field type="CharField" name="label">powieść</field>
559 <field type="SlugField" name="slug">powiesc</field>
560 <field type="TextField" name="params">{"tag": "powiesc"}</field>
561 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
562 <field type="CharField" name="key"/>
563 <field type="CharField" name="tooltip"/>
564 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
568 <object pk="68" model="toolbar.button">
569 <field type="CharField" name="label">przypis autorski</field>
570 <field type="SlugField" name="slug">przypis-autorski</field>
571 <field type="TextField" name="params">{"tag": "pa"}</field>
572 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
573 <field type="CharField" name="key"/>
574 <field type="CharField" name="tooltip"/>
575 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
579 <object pk="71" model="toolbar.button">
580 <field type="CharField" name="label">przypis edytorski</field>
581 <field type="SlugField" name="slug">przypis-edytorski</field>
582 <field type="TextField" name="params">{"tag": "pe"}</field>
583 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
584 <field type="CharField" name="key"/>
585 <field type="CharField" name="tooltip"/>
586 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
590 <object pk="70" model="toolbar.button">
591 <field type="CharField" name="label">przypis redaktorski</field>
592 <field type="SlugField" name="slug">przypis-redaktorski</field>
593 <field type="TextField" name="params">{"tag": "pr"}</field>
594 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
595 <field type="CharField" name="key"/>
596 <field type="CharField" name="tooltip"/>
597 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
601 <object pk="69" model="toolbar.button">
602 <field type="CharField" name="label">przypis tłumacza</field>
603 <field type="SlugField" name="slug">przypis-tlumacza</field>
604 <field type="TextField" name="params">{"tag": "pt"}</field>
605 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
606 <field type="CharField" name="key"/>
607 <field type="CharField" name="tooltip"/>
608 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
612 <object pk="11" model="toolbar.button">
613 <field type="CharField" name="label">rozdział</field>
614 <field type="SlugField" name="slug">rozdzial</field>
615 <field type="TextField" name="params">{"tag": "naglowek_rozdzial"}</field>
616 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
617 <field type="CharField" name="key"/>
618 <field type="CharField" name="tooltip"/>
619 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
623 <object pk="15" model="toolbar.button">
624 <field type="CharField" name="label">scena</field>
625 <field type="SlugField" name="slug">scena</field>
626 <field type="TextField" name="params">{"tag": "naglowek_scena"}</field>
627 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
628 <field type="CharField" name="key"/>
629 <field type="CharField" name="tooltip"/>
630 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
634 <object pk="54" model="toolbar.button">
635 <field type="CharField" name="label">sep. asteryks</field>
636 <field type="SlugField" name="slug">sep-asteryks</field>
637 <field type="TextField" name="params">{"tag": "sekcja_asteryks"}</field>
638 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
639 <field type="CharField" name="key"/>
640 <field type="CharField" name="tooltip"/>
641 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
645 <object pk="55" model="toolbar.button">
646 <field type="CharField" name="label">sep. linia</field>
647 <field type="SlugField" name="slug">sep-linia</field>
648 <field type="TextField" name="params">{"tag": "separator_linia"}</field>
649 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
650 <field type="CharField" name="key"/>
651 <field type="CharField" name="tooltip"/>
652 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
656 <object pk="53" model="toolbar.button">
657 <field type="CharField" name="label">sep. światło</field>
658 <field type="SlugField" name="slug">sep-swiatlo</field>
659 <field type="TextField" name="params">{"tag": "sekcja_swiatlo"}</field>
660 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
661 <field type="CharField" name="key"/>
662 <field type="CharField" name="tooltip"/>
663 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
667 <object pk="57" model="toolbar.button">
668 <field type="CharField" name="label">strofa</field>
669 <field type="SlugField" name="slug">strofa</field>
670 <field type="TextField" name="params">{"tag": "strofa"}</field>
671 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
672 <field type="CharField" name="key"/>
673 <field type="CharField" name="tooltip"/>
674 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
678 <object pk="46" model="toolbar.button">
679 <field type="CharField" name="label">słowo obce</field>
680 <field type="SlugField" name="slug">slowo-obce</field>
681 <field type="TextField" name="params">{"tag": "slowo_obce"}</field>
682 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
683 <field type="CharField" name="key"/>
684 <field type="CharField" name="tooltip"/>
685 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
689 <object pk="17" model="toolbar.button">
690 <field type="CharField" name="label">tagi główne</field>
691 <field type="SlugField" name="slug">tagi-glowne</field>
692 <field type="TextField" name="params">{"tag": "utwor"}</field>
693 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
694 <field type="CharField" name="key"/>
695 <field type="CharField" name="tooltip"/>
696 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
700 <object pk="33" model="toolbar.button">
701 <field type="CharField" name="label">tytuł</field>
702 <field type="SlugField" name="slug">tytul</field>
703 <field type="TextField" name="params">{"tag": "nazwa_utworu"}</field>
704 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
705 <field type="CharField" name="key"/>
706 <field type="CharField" name="tooltip"/>
707 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
711 <object pk="45" model="toolbar.button">
712 <field type="CharField" name="label">tytuł dzieła</field>
713 <field type="SlugField" name="slug">tytul-dziela</field>
714 <field type="TextField" name="params">{"tag": "tytul_dziela", "attrs": {"typ": " "}}</field>
715 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
716 <field type="CharField" name="key"/>
717 <field type="CharField" name="tooltip"/>
718 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
722 <object pk="51" model="toolbar.button">
723 <field type="CharField" name="label">uwaga</field>
724 <field type="SlugField" name="slug">uwaga</field>
725 <field type="TextField" name="params">{"tag": "uwaga"}</field>
726 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
727 <field type="CharField" name="key"/>
728 <field type="CharField" name="tooltip"/>
729 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
733 <object pk="28" model="toolbar.button">
734 <field type="CharField" name="label">wers akap.</field>
735 <field type="SlugField" name="slug">wers-akap</field>
736 <field type="TextField" name="params">{"tag": "wers_akap"}</field>
737 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
738 <field type="CharField" name="key"/>
739 <field type="CharField" name="tooltip"/>
740 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
744 <object pk="58" model="toolbar.button">
745 <field type="CharField" name="label">wers akap.</field>
746 <field type="SlugField" name="slug">wers-akap</field>
747 <field type="TextField" name="params">{"tag": "wers_akap"}</field>
748 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
749 <field type="CharField" name="key"/>
750 <field type="CharField" name="tooltip"/>
751 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
755 <object pk="26" model="toolbar.button">
756 <field type="CharField" name="label">wers cd.</field>
757 <field type="SlugField" name="slug">wers-cd</field>
758 <field type="TextField" name="params">{"tag": "wers_cd"}</field>
759 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
760 <field type="CharField" name="key"/>
761 <field type="CharField" name="tooltip"/>
762 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
766 <object pk="60" model="toolbar.button">
767 <field type="CharField" name="label">wers cd.</field>
768 <field type="SlugField" name="slug">wers-cd</field>
769 <field type="TextField" name="params">{"tag": "wers_cd"}</field>
770 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
771 <field type="CharField" name="key"/>
772 <field type="CharField" name="tooltip"/>
773 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
777 <object pk="27" model="toolbar.button">
778 <field type="CharField" name="label">wers wcięty</field>
779 <field type="SlugField" name="slug">wers-wciety</field>
780 <field type="TextField" name="params">{"tag": "wers_wciety"}</field>
781 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
782 <field type="CharField" name="key"/>
783 <field type="CharField" name="tooltip"/>
784 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
788 <object pk="59" model="toolbar.button">
789 <field type="CharField" name="label">wers wcięty</field>
790 <field type="SlugField" name="slug">wers-wciety</field>
791 <field type="TextField" name="params">{"tag": "wers_wciety"}</field>
792 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
793 <field type="CharField" name="key"/>
794 <field type="CharField" name="tooltip"/>
795 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
799 <object pk="48" model="toolbar.button">
800 <field type="CharField" name="label">www</field>
801 <field type="SlugField" name="slug">www</field>
802 <field type="TextField" name="params">{"tag": "www"}</field>
803 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
804 <field type="CharField" name="key"/>
805 <field type="CharField" name="tooltip"/>
806 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
810 <object pk="44" model="toolbar.button">
811 <field type="CharField" name="label">wyróżnienie</field>
812 <field type="SlugField" name="slug">wyroznienie</field>
813 <field type="TextField" name="params">{"tag": "wyroznienie"}</field>
814 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
815 <field type="CharField" name="key"/>
816 <field type="CharField" name="tooltip"/>
817 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
821 <object pk="25" model="toolbar.button">
822 <field type="CharField" name="label">wywiad</field>
823 <field type="SlugField" name="slug">wywiad</field>
824 <field type="TextField" name="params">{"tag": "wywiad"}</field>
825 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
826 <field type="CharField" name="key"/>
827 <field type="CharField" name="tooltip"/>
828 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
832 <object pk="73" model="toolbar.button">
833 <field type="CharField" name="label">wywiad odpowiedź</field>
834 <field type="SlugField" name="slug">wywiad-odpowiedz</field>
835 <field type="TextField" name="params">{"tag": "wywiad_odp"}</field>
836 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
837 <field type="CharField" name="key"/>
838 <field type="CharField" name="tooltip"/>
839 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
843 <object pk="72" model="toolbar.button">
844 <field type="CharField" name="label">wywiad pytanie</field>
845 <field type="SlugField" name="slug">wywiad-pytanie</field>
846 <field type="TextField" name="params">{"tag": "wywiad_pyt"}</field>
847 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
848 <field type="CharField" name="key"/>
849 <field type="CharField" name="tooltip"/>
850 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
854 <object pk="56" model="toolbar.button">
855 <field type="CharField" name="label">zastępnik wersu</field>
856 <field type="SlugField" name="slug">zastepnik-wersu</field>
857 <field type="TextField" name="params">{"tag": "zastepnik_wersu"}</field>
858 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
859 <field type="CharField" name="key"/>
860 <field type="CharField" name="tooltip"/>
861 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
865 <object pk="13" model="toolbar.button">
866 <field type="CharField" name="label">śródtytuł</field>
867 <field type="SlugField" name="slug">srodtytul</field>
868 <field type="TextField" name="params">{"tag": "srodtytul"}</field>
869 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
870 <field type="CharField" name="key"/>
871 <field type="CharField" name="tooltip"/>
872 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
876 <object pk="insert_tag" model="toolbar.scriptlet">
877 <field type="TextField" name="code">var texteditor = panel.texteditor;
879 var text = texteditor.selection();
881 var out = '<'+params.tag;
883 for (var attr in params.attrs) {
885 out += ' '+attr+'="' + params.attrs[attr] + '"';
893 out += '</' + params.tag + '>';
897 texteditor.replaceSelection(out);
901 if (text.length == 0) {
903 var pos = texteditor.cursorPosition();
905 texteditor.selectLines(pos.line, pos.character + params.tag.length + 2);
911 panel.fireEvent('contentChanged');</field>
913 <object pk="lineregexp" model="toolbar.scriptlet">
914 <field type="TextField" name="code">// params: {exprs: list of {expr: "", repl: "" [, opts: "g"]}}
916 var cm = panel.texteditor;
920 var exprs = $.map(params.exprs, function(expr) {
924 if(expr.length > 2)
928 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
936 var text = cm.selection();
942 var cpos = cm.cursorPosition();
944 cpos.line = cm.lineNumber(cpos.line)
946 cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
948 text = cm.selection();
958 var lines = text.split('\n');
960 var lines = $.map(lines, function(line) {
964 $(exprs).each(function() {
968 line = line.replace(expr.rx, expr.repl);
972 if(old_line != line) changed = true;
984 cm.replaceSelection( lines.join('\n') );
986 panel.fireEvent('contentChanged');
994 cm.selectLines( cm.nthLine(cpos.line), cpos.character )</field>
996 <object pk="codemirror_fontsize" model="toolbar.scriptlet">
997 <field type="TextField" name="code">var texteditor = panel.texteditor;
999 var frameBody = $('body', $(texteditor.frame).contents());
1003 if(params.fontSize) {
1005 frameBody.css('font-size', params.fontSize);
1011 var old_size = parseInt(frameBody.css('font-size'));
1013 frameBody.css('font-size', old_size + (params.change || 0) );
1017 <object pk="fulltextregexp" model="toolbar.scriptlet">
1018 <field type="TextField" name="code">var cm = panel.texteditor;
1020 var exprs = $.map(params.exprs, function(expr) {
1024 if(expr.length > 2)
1028 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
1036 var text = cm.selection();
1042 var cpos = cm.cursorPosition();
1044 cpos.line = cm.lineNumber(cpos.line)
1046 cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
1048 text = cm.selection();
1056 var original = text;
1060 $(exprs).each(function() {
1062 text = text.replace(this.rx, this.repl);
1068 if( original != text) {
1070 cm.replaceSelection(text);
1072 panel.fireEvent('contentChanged');
1080 cm.selectLines( cm.nthLine(cpos.line), cpos.character );
1084 <object pk="macro" model="toolbar.scriptlet">
1085 <field type="TextField" name="code">params.each(function() {
1087 editor.callScriptlet(this[0], this[1]);
1091 <object pk="lowercase" model="toolbar.scriptlet">
1092 <field type="TextField" name="code">var cm = panel.texteditor;
1094 var text = cm.selection();
1098 var repl = text.toLowerCase();
1102 cm.replaceSelection(repl);
1104 panel.fireEvent('contentChanged');