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="39" model="toolbar.button">
117 <field type="CharField" name="label">akapit</field>
118 <field type="SlugField" name="slug">akapit</field>
119 <field type="TextField" name="params">({tag:"akap"})</field>
120 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
121 <field type="CharField" name="key"/>
122 <field type="CharField" name="tooltip"/>
123 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
127 <object pk="40" model="toolbar.button">
128 <field type="CharField" name="label">akapit cd.</field>
129 <field type="SlugField" name="slug">akapit-cd</field>
130 <field type="TextField" name="params">({tag:"akap_cd"})</field>
131 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
132 <field type="CharField" name="key"/>
133 <field type="CharField" name="tooltip"/>
134 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
138 <object pk="41" model="toolbar.button">
139 <field type="CharField" name="label">akapit dialogowy</field>
140 <field type="SlugField" name="slug">akapit-dialogowy</field>
141 <field type="TextField" name="params">({tag:"akap_dialog"})</field>
142 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
143 <field type="CharField" name="key"/>
144 <field type="CharField" name="tooltip"/>
145 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
149 <object pk="14" model="toolbar.button">
150 <field type="CharField" name="label">akt</field>
151 <field type="SlugField" name="slug">akt</field>
152 <field type="TextField" name="params">({tag:"akt"})</field>
153 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</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="32" model="toolbar.button">
161 <field type="CharField" name="label">autor</field>
162 <field type="SlugField" name="slug">autor</field>
163 <field type="TextField" name="params">({tag:"autor"})</field>
164 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
165 <field type="CharField" name="key"/>
166 <field type="CharField" name="tooltip"/>
167 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
171 <object pk="10" model="toolbar.button">
172 <field type="CharField" name="label">część/księga</field>
173 <field type="SlugField" name="slug">czesc</field>
174 <field type="TextField" name="params">({tag:"naglowek_czesc"})</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="65" model="toolbar.button">
183 <field type="CharField" name="label">dedykacja</field>
184 <field type="SlugField" name="slug">dedykacja</field>
185 <field type="TextField" name="params">({tag:"dedykacja"})</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="74" model="toolbar.button">
194 <field type="CharField" name="label">dedykacja</field>
195 <field type="SlugField" name="slug">dedykacja</field>
196 <field type="TextField" name="params">({tag:"dedykacja"})</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="31" model="toolbar.button">
205 <field type="CharField" name="label">didaskalia</field>
206 <field type="SlugField" name="slug">didaskalia</field>
207 <field type="TextField" name="params">({tag:"didaskalia"})</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="62" model="toolbar.button">
216 <field type="CharField" name="label">didaskalia</field>
217 <field type="SlugField" name="slug">didaskalia</field>
218 <field type="TextField" name="params">({tag:"didaskalia"})</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="49" model="toolbar.button">
227 <field type="CharField" name="label">didaskalia wewn.</field>
228 <field type="SlugField" name="slug">didaskalia-wewn</field>
229 <field type="TextField" name="params">({tag:"didask_tekst"})</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="63" model="toolbar.button">
238 <field type="CharField" name="label">didaskalia wewn.</field>
239 <field type="SlugField" name="slug">didaskalia-wewn</field>
240 <field type="TextField" name="params">({tag:"didask_tekst"})</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="20" model="toolbar.button">
249 <field type="CharField" name="label">dramat wiersz.</field>
250 <field type="SlugField" name="slug">dramat-wiersz</field>
251 <field type="TextField" name="params">({tag:"dramat_wierszowany_l"})</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="22" model="toolbar.button">
260 <field type="CharField" name="label">dramat wiersz./w. łam</field>
261 <field type="SlugField" name="slug">dramat-wiersz-w-lam</field>
262 <field type="TextField" name="params">({tag:"dramat_wierszowany_lp"})</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="21" model="toolbar.button">
271 <field type="CharField" name="label">dramat współczesny</field>
272 <field type="SlugField" name="slug">dramat-wspolczesny</field>
273 <field type="TextField" name="params">({tag:"dramat_wspolczesny"})</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="38" model="toolbar.button">
282 <field type="CharField" name="label">dzieło nadrzędne</field>
283 <field type="SlugField" name="slug">dzielo-nadrzedne</field>
284 <field type="TextField" name="params">({tag:"dzielo_nadrzedne"})</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="67" model="toolbar.button">
293 <field type="CharField" name="label">długi cyt. poet.</field>
294 <field type="SlugField" name="slug">dlugi-cyt-poet</field>
295 <field type="TextField" name="params">({tag:"poezja_cyt"})</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="43" model="toolbar.button">
304 <field type="CharField" name="label">długi cyta. poet.</field>
305 <field type="SlugField" name="slug">dlugi-cyt-poet</field>
306 <field type="TextField" name="params">({tag:"poezja_cyt"})</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="42" model="toolbar.button">
315 <field type="CharField" name="label">długi cytat</field>
316 <field type="SlugField" name="slug">dlugi-cytat</field>
317 <field type="TextField" name="params">({tag:"dlugi_cyt"})</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="66" model="toolbar.button">
326 <field type="CharField" name="label">długi cytat</field>
327 <field type="SlugField" name="slug">dlugi-cytat</field>
328 <field type="TextField" name="params">dlugi_cytat</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="52" model="toolbar.button">
337 <field type="CharField" name="label">ekstra</field>
338 <field type="SlugField" name="slug">ekstra</field>
339 <field type="TextField" name="params">({tag:"ekstra"})</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="29" model="toolbar.button">
348 <field type="CharField" name="label">kwestia</field>
349 <field type="SlugField" name="slug">kwestia</field>
350 <field type="TextField" name="params">({tag:"kwestia"})</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="61" model="toolbar.button">
359 <field type="CharField" name="label">kwestia</field>
360 <field type="SlugField" name="slug">kwestia</field>
361 <field type="TextField" name="params">({tag:"kwestia"})</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="23" model="toolbar.button">
370 <field type="CharField" name="label">liryka</field>
371 <field type="SlugField" name="slug">liryka</field>
372 <field type="TextField" name="params">({tag:"liryka_l"})</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">
380 <object pk="24" model="toolbar.button">
381 <field type="CharField" name="label">liryka/w. łam</field>
382 <field type="SlugField" name="slug">liryka-w-lam</field>
383 <field type="TextField" name="params">({tag:"liryka_lp"})</field>
384 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
385 <field type="CharField" name="key"/>
386 <field type="CharField" name="tooltip"/>
387 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
391 <object pk="47" model="toolbar.button">
392 <field type="CharField" name="label">mamtemat.</field>
393 <field type="SlugField" name="slug">matemat</field>
394 <field type="TextField" name="params">({tag:"mat"})</field>
395 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
396 <field type="CharField" name="key"/>
397 <field type="CharField" name="tooltip"/>
398 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
402 <object pk="36" model="toolbar.button">
403 <field type="CharField" name="label">motto</field>
404 <field type="SlugField" name="slug">motto</field>
405 <field type="TextField" name="params">({tag:"motto"})</field>
406 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
407 <field type="CharField" name="key"/>
408 <field type="CharField" name="tooltip"/>
409 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
413 <object pk="75" model="toolbar.button">
414 <field type="CharField" name="label">motto</field>
415 <field type="SlugField" name="slug">motto</field>
416 <field type="TextField" name="params">({tag:"motto"})</field>
417 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
418 <field type="CharField" name="key"/>
419 <field type="CharField" name="tooltip"/>
420 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
424 <object pk="37" model="toolbar.button">
425 <field type="CharField" name="label">motto podpis</field>
426 <field type="SlugField" name="slug">motto-podpis</field>
427 <field type="TextField" name="params">({tag:"motto_podpis"})</field>
428 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
429 <field type="CharField" name="key"/>
430 <field type="CharField" name="tooltip"/>
431 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
435 <object pk="16" model="toolbar.button">
436 <field type="CharField" name="label">nagłówek kwestii</field>
437 <field type="SlugField" name="slug">naglowek-kwestii</field>
438 <field type="TextField" name="params">({tag:"naglowek_osoba"})</field>
439 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
440 <field type="CharField" name="key"/>
441 <field type="CharField" name="tooltip"/>
442 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
446 <object pk="35" model="toolbar.button">
447 <field type="CharField" name="label">nota</field>
448 <field type="SlugField" name="slug">nota</field>
449 <field type="TextField" name="params">({tag:"nota"})</field>
450 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
451 <field type="CharField" name="key"/>
452 <field type="CharField" name="tooltip"/>
453 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
457 <object pk="4" model="toolbar.button">
458 <field type="CharField" name="label">Novelpages</field>
459 <field type="SlugField" name="slug">novelpages</field>
460 <field type="TextField" name="params">({exprs: [
462 ["\\,\\.\\.|\\.\\,\\.|\\.\\.\\,", "..."],
464 ["„", ",,"] /* DOUBLE LOW-9 QUOTATION MARK */
467 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
468 <field type="CharField" name="key"/>
469 <field type="CharField" name="tooltip">Wykonuję operację z novel-pages.</field>
470 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
474 <object pk="18" model="toolbar.button">
475 <field type="CharField" name="label">opowiadanie</field>
476 <field type="SlugField" name="slug">opowiadanie</field>
477 <field type="TextField" name="params">({tag:"opowiadanie"})</field>
478 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
479 <field type="CharField" name="key"/>
480 <field type="CharField" name="tooltip"/>
481 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
485 <object pk="50" model="toolbar.button">
486 <field type="CharField" name="label">osoba</field>
487 <field type="SlugField" name="slug">osoba</field>
488 <field type="TextField" name="params">({tag:"osoba"})</field>
489 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
490 <field type="CharField" name="key"/>
491 <field type="CharField" name="tooltip"/>
492 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
496 <object pk="64" model="toolbar.button">
497 <field type="CharField" name="label">osoba</field>
498 <field type="SlugField" name="slug">osoba</field>
499 <field type="TextField" name="params">({tag:"osoba"})</field>
500 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
501 <field type="CharField" name="key"/>
502 <field type="CharField" name="tooltip"/>
503 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
507 <object pk="12" model="toolbar.button">
508 <field type="CharField" name="label">podrozdział</field>
509 <field type="SlugField" name="slug">podrozdzial</field>
510 <field type="TextField" name="params">({tag:"naglowek_podrozdzial"})</field>
511 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
512 <field type="CharField" name="key"/>
513 <field type="CharField" name="tooltip"/>
514 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
518 <object pk="34" model="toolbar.button">
519 <field type="CharField" name="label">podtytuł</field>
520 <field type="SlugField" name="slug">podtytul</field>
521 <field type="TextField" name="params">({tag:"podtytul"})</field>
522 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
523 <field type="CharField" name="key"/>
524 <field type="CharField" name="tooltip"/>
525 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
529 <object pk="19" model="toolbar.button">
530 <field type="CharField" name="label">powieść</field>
531 <field type="SlugField" name="slug">powiesc</field>
532 <field type="TextField" name="params">({tag:"powiesc"})</field>
533 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
534 <field type="CharField" name="key"/>
535 <field type="CharField" name="tooltip"/>
536 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
540 <object pk="68" model="toolbar.button">
541 <field type="CharField" name="label">przypis autorski</field>
542 <field type="SlugField" name="slug">przypis-autorski</field>
543 <field type="TextField" name="params">({tag:"pa"})</field>
544 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
545 <field type="CharField" name="key"/>
546 <field type="CharField" name="tooltip"/>
547 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
551 <object pk="71" model="toolbar.button">
552 <field type="CharField" name="label">przypis edytorski</field>
553 <field type="SlugField" name="slug">przypis-edytorski</field>
554 <field type="TextField" name="params">({tag:"pe"})</field>
555 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
556 <field type="CharField" name="key"/>
557 <field type="CharField" name="tooltip"/>
558 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
562 <object pk="70" model="toolbar.button">
563 <field type="CharField" name="label">przypis redaktorski</field>
564 <field type="SlugField" name="slug">przypis-redaktorski</field>
565 <field type="TextField" name="params">({tag:"pr"})</field>
566 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
567 <field type="CharField" name="key"/>
568 <field type="CharField" name="tooltip"/>
569 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
573 <object pk="69" model="toolbar.button">
574 <field type="CharField" name="label">przypis tłumacza</field>
575 <field type="SlugField" name="slug">przypis-tlumacza</field>
576 <field type="TextField" name="params">({tag:"pt"})</field>
577 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
578 <field type="CharField" name="key"/>
579 <field type="CharField" name="tooltip"/>
580 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
584 <object pk="11" model="toolbar.button">
585 <field type="CharField" name="label">rozdział</field>
586 <field type="SlugField" name="slug">rozdzial</field>
587 <field type="TextField" name="params">({tag:"naglowek_rozdzial"})</field>
588 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
589 <field type="CharField" name="key"/>
590 <field type="CharField" name="tooltip"/>
591 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
595 <object pk="15" model="toolbar.button">
596 <field type="CharField" name="label">scena</field>
597 <field type="SlugField" name="slug">scena</field>
598 <field type="TextField" name="params">({tag:"naglowek_scena"})</field>
599 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
600 <field type="CharField" name="key"/>
601 <field type="CharField" name="tooltip"/>
602 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
606 <object pk="54" model="toolbar.button">
607 <field type="CharField" name="label">sep. asteryks</field>
608 <field type="SlugField" name="slug">sep-asteryks</field>
609 <field type="TextField" name="params">({tag:"sekcja_asteryks"})</field>
610 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
611 <field type="CharField" name="key"/>
612 <field type="CharField" name="tooltip"/>
613 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
617 <object pk="55" model="toolbar.button">
618 <field type="CharField" name="label">sep. linia</field>
619 <field type="SlugField" name="slug">sep-linia</field>
620 <field type="TextField" name="params">({tag:"separator_linia"})</field>
621 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
622 <field type="CharField" name="key"/>
623 <field type="CharField" name="tooltip"/>
624 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
628 <object pk="53" model="toolbar.button">
629 <field type="CharField" name="label">sep. światło</field>
630 <field type="SlugField" name="slug">sep-swiatlo</field>
631 <field type="TextField" name="params">({tag:"sekcja_swiatlo"})</field>
632 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
633 <field type="CharField" name="key"/>
634 <field type="CharField" name="tooltip"/>
635 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
639 <object pk="13" model="toolbar.button">
640 <field type="CharField" name="label">śródtytuł</field>
641 <field type="SlugField" name="slug">srodtytul</field>
642 <field type="TextField" name="params">({tag:"srodtytul"})</field>
643 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
644 <field type="CharField" name="key"/>
645 <field type="CharField" name="tooltip"/>
646 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
650 <object pk="30" model="toolbar.button">
651 <field type="CharField" name="label">strofa</field>
652 <field type="SlugField" name="slug">strofa</field>
653 <field type="TextField" name="params">({tag"strofa"})</field>
654 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
655 <field type="CharField" name="key"/>
656 <field type="CharField" name="tooltip"/>
657 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
661 <object pk="57" model="toolbar.button">
662 <field type="CharField" name="label">strofa</field>
663 <field type="SlugField" name="slug">strofa</field>
664 <field type="TextField" name="params">({tag:"strofa"})</field>
665 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
666 <field type="CharField" name="key"/>
667 <field type="CharField" name="tooltip"/>
668 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
672 <object pk="46" model="toolbar.button">
673 <field type="CharField" name="label">słowo obce</field>
674 <field type="SlugField" name="slug">slowo-obce</field>
675 <field type="TextField" name="params">({tag:"slowo_obce"})</field>
676 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
677 <field type="CharField" name="key"/>
678 <field type="CharField" name="tooltip"/>
679 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
683 <object pk="17" model="toolbar.button">
684 <field type="CharField" name="label">tagi główne</field>
685 <field type="SlugField" name="slug">tagi-glowne</field>
686 <field type="TextField" name="params">({tag:"utwor"})</field>
687 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
688 <field type="CharField" name="key"/>
689 <field type="CharField" name="tooltip"/>
690 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
694 <object pk="33" model="toolbar.button">
695 <field type="CharField" name="label">tytuł</field>
696 <field type="SlugField" name="slug">tytul</field>
697 <field type="TextField" name="params">({tag:"nazwa_utworu"})</field>
698 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
699 <field type="CharField" name="key"/>
700 <field type="CharField" name="tooltip"/>
701 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
705 <object pk="45" model="toolbar.button">
706 <field type="CharField" name="label">tytuł dzieła</field>
707 <field type="SlugField" name="slug">tytul-dziela</field>
708 <field type="TextField" name="params">({tag:"tytul_dziela"})</field>
709 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
710 <field type="CharField" name="key"/>
711 <field type="CharField" name="tooltip"/>
712 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
716 <object pk="3" model="toolbar.button">
717 <field type="CharField" name="label">Usuń spację</field>
718 <field type="SlugField" name="slug">strip_whitespace</field>
719 <field type="TextField" name="params">({exprs: [ ["^\\s+|\\s+$", ""], ["\\s+", " "] ]})</field>
720 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
721 <field type="CharField" name="key"/>
722 <field type="CharField" name="tooltip">Usuwa zbędne spację z dokumentu.</field>
723 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
727 <object pk="51" model="toolbar.button">
728 <field type="CharField" name="label">uwaga</field>
729 <field type="SlugField" name="slug">uwaga</field>
730 <field type="TextField" name="params">({tag:"uwaga"})</field>
731 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
732 <field type="CharField" name="key"/>
733 <field type="CharField" name="tooltip"/>
734 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
738 <object pk="28" model="toolbar.button">
739 <field type="CharField" name="label">wers akap.</field>
740 <field type="SlugField" name="slug">wers-akap</field>
741 <field type="TextField" name="params">({tag:"wers_akap"})</field>
742 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
743 <field type="CharField" name="key"/>
744 <field type="CharField" name="tooltip"/>
745 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
749 <object pk="58" model="toolbar.button">
750 <field type="CharField" name="label">wers akap.</field>
751 <field type="SlugField" name="slug">wers-akap</field>
752 <field type="TextField" name="params">({tag:"wers_akap"})</field>
753 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
754 <field type="CharField" name="key"/>
755 <field type="CharField" name="tooltip"/>
756 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
760 <object pk="26" model="toolbar.button">
761 <field type="CharField" name="label">wers cd.</field>
762 <field type="SlugField" name="slug">wers-cd</field>
763 <field type="TextField" name="params">({tag:"wers_cd"})</field>
764 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
765 <field type="CharField" name="key"/>
766 <field type="CharField" name="tooltip"/>
767 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
771 <object pk="60" model="toolbar.button">
772 <field type="CharField" name="label">wers cd.</field>
773 <field type="SlugField" name="slug">wers-cd</field>
774 <field type="TextField" name="params">({tag:"wers_cd"})</field>
775 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
776 <field type="CharField" name="key"/>
777 <field type="CharField" name="tooltip"/>
778 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
782 <object pk="27" model="toolbar.button">
783 <field type="CharField" name="label">wers wcięty</field>
784 <field type="SlugField" name="slug">wers-wciety</field>
785 <field type="TextField" name="params">({tag:"wers_wciety"})</field>
786 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
787 <field type="CharField" name="key"/>
788 <field type="CharField" name="tooltip"/>
789 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
793 <object pk="59" model="toolbar.button">
794 <field type="CharField" name="label">wers wcięty</field>
795 <field type="SlugField" name="slug">wers-wciety</field>
796 <field type="TextField" name="params">({tag:"wers_wciety"})</field>
797 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
798 <field type="CharField" name="key"/>
799 <field type="CharField" name="tooltip"/>
800 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
804 <object pk="48" model="toolbar.button">
805 <field type="CharField" name="label">www</field>
806 <field type="SlugField" name="slug">www</field>
807 <field type="TextField" name="params">({tag:"www"})</field>
808 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
809 <field type="CharField" name="key"/>
810 <field type="CharField" name="tooltip"/>
811 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
815 <object pk="44" model="toolbar.button">
816 <field type="CharField" name="label">wyróżnienie</field>
817 <field type="SlugField" name="slug">wyroznienie</field>
818 <field type="TextField" name="params">({tag:"wyroznienie"})</field>
819 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
820 <field type="CharField" name="key"/>
821 <field type="CharField" name="tooltip"/>
822 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
826 <object pk="25" model="toolbar.button">
827 <field type="CharField" name="label">wywiad</field>
828 <field type="SlugField" name="slug">wywiad</field>
829 <field type="TextField" name="params">({tag:"wywiad"})</field>
830 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
831 <field type="CharField" name="key"/>
832 <field type="CharField" name="tooltip"/>
833 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
837 <object pk="73" model="toolbar.button">
838 <field type="CharField" name="label">wywiad odpowiedź</field>
839 <field type="SlugField" name="slug">wywiad-odpowiedz</field>
840 <field type="TextField" name="params">({tag:"wywiad_odp"})</field>
841 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
842 <field type="CharField" name="key"/>
843 <field type="CharField" name="tooltip"/>
844 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
848 <object pk="72" model="toolbar.button">
849 <field type="CharField" name="label">wywiad pytanie</field>
850 <field type="SlugField" name="slug">wywiad-pytanie</field>
851 <field type="TextField" name="params">({tag:"wywiad_pyt"})</field>
852 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
853 <field type="CharField" name="key"/>
854 <field type="CharField" name="tooltip"/>
855 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
859 <object pk="2" model="toolbar.button">
860 <field type="CharField" name="label">Zamień dywiz</field>
861 <field type="SlugField" name="slug">zamien_dywiz</field>
862 <field type="TextField" name="params">({exprs:[ ["—","---"] ]})</field>
863 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
864 <field type="CharField" name="key"/>
865 <field type="CharField" name="tooltip">Zamienia '—' na '---'.</field>
866 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
870 <object pk="56" model="toolbar.button">
871 <field type="CharField" name="label">zastępnik wersu</field>
872 <field type="SlugField" name="slug">zastepnik-wersu</field>
873 <field type="TextField" name="params">({tag:"zastepnik_wersu"})</field>
874 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
875 <field type="CharField" name="key"/>
876 <field type="CharField" name="tooltip"/>
877 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
881 <object pk="insert_tag" model="toolbar.scriptlet">
882 <field type="TextField" name="code">$.log(editor, panel, params);
886 var texteditor = panel.texteditor;
888 var text = texteditor.selection();
890 texteditor.replaceSelection('<' + params.tag + '>' + text + '</' + params.tag + '>');
892 if (text.length == 0)
896 var pos = texteditor.cursorPosition();
898 texteditor.selectLines(pos.line, pos.character + params.tag.length + 2);
904 panel.fireEvent('contentChanged');</field>
906 <object pk="lineregexp" model="toolbar.scriptlet">
907 <field type="TextField" name="code">// params: {exprs: list of {expr: "", repl: "" [, opts: "g"]}}
908 var cm = panel.texteditor;
910 var exprs = $.map(params.exprs, function(expr) {
912 if(expr.length > 2)
914 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
917 var selection = cm.selection();
922 var lines = selection.split('\n');
923 var lines = $.map(lines, function(line) {
925 $(exprs).each(function() {
927 line = line.replace(expr.rx, expr.repl);
929 if(old_line != line) changed = true;
934 cm.replaceSelection( lines.join('\n') );
935 panel.fireEvent('contentChanged');
939 var line = cm.firstLine();
940 var hasChanges = false;
942 var content = cm.lineContent(line);
943 var old_content = content;
944 $(exprs).each(function() { var expr = this;
945 content = content.replace(expr.rx, expr.repl);
948 if(old_content != content) {
949 cm.setLineContent(line, content);
953 line = cm.nextLine(line);
954 } while( !(line === false) );
956 if(hasChanges) panel.fireEvent('contentChanged');
959 <object pk="codemirror_fontsize" model="toolbar.scriptlet">
960 <field type="TextField" name="code">var texteditor = panel.texteditor;
962 var frameBody = $('body', $(texteditor.frame).contents());
966 if(params.fontSize) {
968 frameBody.css('font-size', params.fontSize);
974 var old_size = parseInt(frameBody.css('font-size'));
976 frameBody.css('font-size', old_size + (params.change || 0) );