Kilka poprawek w CSS. poprawione przyciski.
[redakcja.git] / fixtures / przyciski.xml
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>
7   </object>
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>
12   </object>
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>
17   </object>
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>
22   </object>
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>
27   </object>
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>
32   </object>
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>
37   </object>
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>
42   </object>
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>
47   </object>
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>
52   </object>
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>
57   </object>
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>
62   </object>
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>
67   </object>
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>
72   </object>
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>
77   </object>
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>
82   </object>
83   <object pk="5" model="toolbar.button">
84     <field type="CharField" name="label">A&lt;sup&gt;+&lt;/sup&gt;</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">
91       <object pk="3"/>
92     </field>
93   </object>
94   <object pk="6" model="toolbar.button">
95     <field type="CharField" name="label">A&lt;sup&gt;-&lt;/sup&gt;</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">
102       <object pk="3"/>
103     </field>
104   </object>
105   <object pk="7" model="toolbar.button">
106     <field type="CharField" name="label">A&lt;sup&gt;=&lt;/sup&gt;</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">
113       <object pk="3"/>
114     </field>
115   </object>
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">
124       <object pk="14"/>
125     </field>
126   </object>
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">
135       <object pk="14"/>
136     </field>
137   </object>
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">
146       <object pk="14"/>
147     </field>
148   </object>
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">
157       <object pk="1"/>
158     </field>
159   </object>
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">
168       <object pk="13"/>
169     </field>
170   </object>
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">
179       <object pk="1"/>
180     </field>
181   </object>
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">
190       <object pk="13"/>
191     </field>
192   </object>
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">
201       <object pk="22"/>
202     </field>
203   </object>
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">
212       <object pk="12"/>
213     </field>
214   </object>
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">
223       <object pk="18"/>
224     </field>
225   </object>
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">
234       <object pk="15"/>
235     </field>
236   </object>
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">
245       <object pk="18"/>
246     </field>
247   </object>
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">
256       <object pk="11"/>
257     </field>
258   </object>
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">
267       <object pk="11"/>
268     </field>
269   </object>
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">
278       <object pk="11"/>
279     </field>
280   </object>
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">
289       <object pk="13"/>
290     </field>
291   </object>
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">
300       <object pk="21"/>
301     </field>
302   </object>
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">
311       <object pk="14"/>
312     </field>
313   </object>
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">
322       <object pk="14"/>
323     </field>
324   </object>
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">
333       <object pk="21"/>
334     </field>
335   </object>
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">
344       <object pk="15"/>
345     </field>
346   </object>
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">
355       <object pk="12"/>
356     </field>
357   </object>
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">
366       <object pk="18"/>
367     </field>
368   </object>
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">
377       <object pk="11"/>
378     </field>
379   </object>
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">
388       <object pk="11"/>
389     </field>
390   </object>
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">
399       <object pk="15"/>
400     </field>
401   </object>
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">
410       <object pk="13"/>
411     </field>
412   </object>
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">
421       <object pk="22"/>
422     </field>
423   </object>
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">
432       <object pk="13"/>
433     </field>
434   </object>
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">
443       <object pk="1"/>
444     </field>
445   </object>
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">
454       <object pk="13"/>
455     </field>
456   </object>
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: [
461
462   ["\\,\\.\\.|\\.\\,\\.|\\.\\.\\,", "..."],
463
464   ["„", ",,"] /* DOUBLE LOW-9 QUOTATION MARK */
465
466 ]})</field>
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">
471       <object pk="2"/>
472     </field>
473   </object>
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">
482       <object pk="11"/>
483     </field>
484   </object>
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">
493       <object pk="15"/>
494     </field>
495   </object>
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">
504       <object pk="18"/>
505     </field>
506   </object>
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">
515       <object pk="1"/>
516     </field>
517   </object>
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">
526       <object pk="13"/>
527     </field>
528   </object>
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">
537       <object pk="11"/>
538     </field>
539   </object>
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">
548       <object pk="21"/>
549     </field>
550   </object>
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">
559       <object pk="21"/>
560     </field>
561   </object>
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">
570       <object pk="21"/>
571     </field>
572   </object>
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">
581       <object pk="21"/>
582     </field>
583   </object>
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">
592       <object pk="1"/>
593     </field>
594   </object>
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">
603       <object pk="1"/>
604     </field>
605   </object>
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">
614       <object pk="16"/>
615     </field>
616   </object>
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">
625       <object pk="16"/>
626     </field>
627   </object>
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">
636       <object pk="16"/>
637     </field>
638   </object>
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">
647       <object pk="1"/>
648     </field>
649   </object>
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">
658       <object pk="12"/>
659     </field>
660   </object>
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">
669       <object pk="17"/>
670     </field>
671   </object>
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">
680       <object pk="15"/>
681     </field>
682   </object>
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">
691       <object pk="11"/>
692     </field>
693   </object>
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">
702       <object pk="13"/>
703     </field>
704   </object>
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">
713       <object pk="15"/>
714     </field>
715   </object>
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">
724       <object pk="2"/>
725     </field>
726   </object>
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">
735       <object pk="15"/>
736     </field>
737   </object>
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">
746       <object pk="12"/>
747     </field>
748   </object>
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">
757       <object pk="17"/>
758     </field>
759   </object>
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">
768       <object pk="12"/>
769     </field>
770   </object>
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">
779       <object pk="17"/>
780     </field>
781   </object>
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">
790       <object pk="12"/>
791     </field>
792   </object>
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">
801       <object pk="17"/>
802     </field>
803   </object>
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">
812       <object pk="15"/>
813     </field>
814   </object>
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">
823       <object pk="15"/>
824     </field>
825   </object>
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">
834       <object pk="11"/>
835     </field>
836   </object>
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">
845       <object pk="21"/>
846     </field>
847   </object>
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">
856       <object pk="21"/>
857     </field>
858   </object>
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">
867       <object pk="2"/>
868     </field>
869   </object>
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">
878       <object pk="16"/>
879     </field>
880   </object>
881   <object pk="insert_tag" model="toolbar.scriptlet">
882     <field type="TextField" name="code">$.log(editor, panel, params);
883
884
885
886 var texteditor = panel.texteditor;
887
888 var text = texteditor.selection();
889
890 texteditor.replaceSelection('&lt;' + params.tag + '&gt;' + text + '&lt;/' + params.tag + '&gt;');
891
892 if (text.length == 0) 
893
894 {
895
896     var pos = texteditor.cursorPosition();
897
898     texteditor.selectLines(pos.line, pos.character + params.tag.length + 2);
899
900 }
901
902
903
904 panel.fireEvent('contentChanged');</field>
905   </object>
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;
909
910 var exprs = $.map(params.exprs, function(expr) {
911     var opts = "g";
912     if(expr.length &gt; 2)
913         opts = expr[2];
914     return {rx: new RegExp(expr[0], opts), repl: expr[1]};
915 });
916
917 var selection = cm.selection();
918
919 if(selection) 
920 {
921     var changed = false;
922     var lines = selection.split('\n');
923     var lines = $.map(lines, function(line) { 
924         var old_line = line;
925         $(exprs).each(function() { 
926             var expr = this;
927             line = line.replace(expr.rx, expr.repl);
928         });
929         if(old_line != line) changed = true;
930         return line;
931     });
932
933     if(changed) {
934         cm.replaceSelection( lines.join('\n') );
935         panel.fireEvent('contentChanged');
936     }
937 }
938 else {
939     var line = cm.firstLine();
940     var hasChanges = false;
941     do {
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);
946         });
947         
948         if(old_content != content) {
949             cm.setLineContent(line, content);
950             hasChanges = true;
951         }
952
953         line = cm.nextLine(line);
954     } while( !(line === false) );
955
956     if(hasChanges) panel.fireEvent('contentChanged');
957 }</field>
958   </object>
959   <object pk="codemirror_fontsize" model="toolbar.scriptlet">
960     <field type="TextField" name="code">var texteditor = panel.texteditor;
961
962 var frameBody = $('body', $(texteditor.frame).contents());
963
964
965
966 if(params.fontSize) {
967
968     frameBody.css('font-size', params.fontSize);
969
970 }
971
972 else {
973
974     var old_size = parseInt(frameBody.css('font-size'));
975
976     frameBody.css('font-size', old_size + (params.change || 0) );
977
978 }</field>
979   </object>
980 </django-objects>