X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/58e0903a3f0e1e105a11638b18b588e9eb6a8b9e..298031e8a452a9012bc43098a32f60f5b5a2b152:/apps/toolbar/fixtures/initial_data.yaml
diff --git a/apps/toolbar/fixtures/initial_data.yaml b/apps/toolbar/fixtures/initial_data.yaml
index 723732d2..e158c080 100644
--- a/apps/toolbar/fixtures/initial_data.yaml
+++ b/apps/toolbar/fixtures/initial_data.yaml
@@ -4,6 +4,9 @@
- fields: {name: Autokorekta, position: 0, slug: autokorekta}
model: toolbar.buttongroup
pk: 2
+- fields: {name: Autotagowanie, position: 0, slug: autotagowanie}
+ model: toolbar.buttongroup
+ pk: 28
- fields: {name: Bloki, position: 0, slug: bloki}
model: toolbar.buttongroup
pk: 21
@@ -38,8 +41,8 @@
model: toolbar.buttongroup
pk: 17
- fields:
- group: [14, 12]
accesskey: a
+ group: [14, 12]
label: akapit
link: ''
params: '{"tag": "akap"}'
@@ -49,8 +52,8 @@
model: toolbar.button
pk: 39
- fields:
- group: [14]
accesskey: ''
+ group: [14]
label: akapit cd.
link: ''
params: '{"tag": "akap_cd"}'
@@ -60,8 +63,8 @@
model: toolbar.button
pk: 40
- fields:
- group: [14]
accesskey: d
+ group: [14]
label: akapit dialogowy
link: ''
params: '{"tag": "akap_dialog"}'
@@ -71,8 +74,19 @@
model: toolbar.button
pk: 41
- fields:
- group: [1]
accesskey: ''
+ group: [28]
+ label: akapity
+ link: ''
+ params: '{"tag": "akap"}'
+ scriptlet: autotag
+ slug: akapity
+ tooltip: "autotagowanie akapit\xF3w"
+ model: toolbar.button
+ pk: 97
+- fields:
+ accesskey: ''
+ group: [1]
label: akt
link: ''
params: '{"tag": "akt"}'
@@ -82,8 +96,8 @@
model: toolbar.button
pk: 14
- fields:
- group: [13]
accesskey: ''
+ group: [13]
label: autor
link: ''
params: '{"tag": "autor_utworu"}'
@@ -93,24 +107,27 @@
model: toolbar.button
pk: 32
- fields:
- group: [2]
accesskey: ''
+ group: [2]
label: Podstawowa
link: ''
params: '[["fulltextregexp", {"exprs": [["\ufeff", ""], ["$[\\s]*\\d+[\\s]*^",
- ""], ["-\\s*^", ""], ["\\,\\.\\.|\\.\\,\\.|\\.\\.\\,", "..."]]}], ["lineregexp",
- {"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "], ["(,,)\\s+|\\s+(\")", "$1"],
- ["(\\d)[\u2014-](\\d)", "$1--$2"], ["[\u2014]", "---"], ["<(/?)P([aert])",
- "<$1p$2"], ["([^\\.])(\\s*)
\\s*-+\\s*",
+ "--- "]]}], ["lineregexp", {"exprs": [["^\\s+|\\s+$", ""],
+ ["\\s+", " "], ["(,,)\\s+", "$1"], ["\\s+(\")", "$1"], ["([^\\.])(\\s*)\u2193"
link: ''
params: '[]'
@@ -653,8 +691,8 @@
model: toolbar.button
pk: 76
- fields:
- group: [15]
accesskey: ''
+ group: [15]
label: "tytu\u0142 dzie\u0142a"
link: ''
params: '{"tag": "tytul_dziela"}'
@@ -664,8 +702,8 @@
model: toolbar.button
pk: 92
- fields:
- group: [15]
accesskey: ''
+ group: [15]
label: "tytu\u0142 dzie\u0142a typ 1"
link: ''
params: '{"tag": "tytul_dziela", "attrs": {"typ": "1"}}'
@@ -675,8 +713,8 @@
model: toolbar.button
pk: 45
- fields:
- group: [27]
accesskey: ''
+ group: [27]
label: uwaga
link: ''
params: '{"tag": "uwaga"}'
@@ -686,8 +724,8 @@
model: toolbar.button
pk: 51
- fields:
- group: [14, 17]
accesskey: ''
+ group: [14, 17]
label: wers akap.
link: ''
params: '{"tag": "wers_akap"}'
@@ -697,8 +735,8 @@
model: toolbar.button
pk: 83
- fields:
- group: [12, 17]
accesskey: ''
+ group: [12, 17]
label: wers cd.
link: ''
params: '{"tag": "wers_cd"}'
@@ -708,8 +746,8 @@
model: toolbar.button
pk: 85
- fields:
- group: [12, 17]
accesskey: w
+ group: [12, 17]
label: "wers mocno wci\u0119ty"
link: ''
params: '{"tag": "wers_wciety", "attrs": {"typ": ""}}'
@@ -719,8 +757,8 @@
model: toolbar.button
pk: 84
- fields:
- group: [12, 17]
accesskey: q
+ group: [12, 17]
label: "wers wci\u0119ty"
link: ''
params: '{"tag": "wers_wciety", "attrs": {"typ": "1"}}'
@@ -730,8 +768,19 @@
model: toolbar.button
pk: 91
- fields:
- group: [15]
accesskey: ''
+ group: [28]
+ label: "wersy wci\u0119te"
+ link: ''
+ params: '{"padding": 1, "tag": "wers_wciety", "split": 1}'
+ scriptlet: autotag
+ slug: wersy-wciete
+ tooltip: "autotagowanie wers\xF3w wci\u0119tych"
+ model: toolbar.button
+ pk: 100
+- fields:
+ accesskey: ''
+ group: [15]
label: www
link: ''
params: '{"tag": "www"}'
@@ -741,8 +790,8 @@
model: toolbar.button
pk: 48
- fields:
- group: [15]
accesskey: ''
+ group: [15]
label: "wyr\xF3\u017Cnienie"
link: ''
params: '{"tag": "wyroznienie"}'
@@ -752,8 +801,8 @@
model: toolbar.button
pk: 44
- fields:
- group: [11]
accesskey: ''
+ group: [11]
label: wywiad
link: ''
params: '{"tag": "wywiad"}'
@@ -763,8 +812,8 @@
model: toolbar.button
pk: 25
- fields:
- group: [21]
accesskey: ''
+ group: [21]
label: "wywiad odpowied\u017A"
link: ''
params: '{"tag": "wywiad_odp"}'
@@ -774,8 +823,8 @@
model: toolbar.button
pk: 73
- fields:
- group: [21]
accesskey: ''
+ group: [21]
label: wywiad pytanie
link: ''
params: '{"tag": "wywiad_pyt"}'
@@ -785,21 +834,8 @@
model: toolbar.button
pk: 72
- fields:
- group: [2]
accesskey: ''
- label: "Zamie\u0144 dywiz"
- link: ''
- params: '{"exprs": [["(\\s)-(\\s)", "$1---$2"], ["^(\\s*)-(\\s)", "$1---$2"],
- ["(\\s)-(\\s*)$", "$1---$2"], ["(\\d)[\u2014\u2013\u2010-](\\d)", "$1--$2"],
- ["\u2014\u2013\u2010", "---"]]}'
- scriptlet: lineregexp
- slug: zamien_dywiz
- tooltip: "Zamienia '\u2014' na '---', oraz '1\u20142' na '1--2'."
- model: toolbar.button
- pk: 2
-- fields:
group: [16]
- accesskey: ''
label: "zast\u0119pnik wersu"
link: ''
params: '{"tag": "zastepnik_wersu"}'
@@ -892,4 +928,7 @@
\r\n\r\n\r\n\r\n\r\n\r\n\r\npanel.fireEvent('contentChanged');"}
model: toolbar.scriptlet
pk: insert_stanza
+- fields: {code: '-'}
+ model: toolbar.scriptlet
+ pk: autotag