X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c766b9b0662499d4213726dbdc2fe65fcd913c68..0a39c81f93dd616be16a9ce3fc3caa0d31aa339f:/apps/toolbar/fixtures/initial_toolbar.yaml?ds=inline diff --git a/apps/toolbar/fixtures/initial_toolbar.yaml b/apps/toolbar/fixtures/initial_toolbar.yaml index 45a1c7de..522a1f04 100644 --- a/apps/toolbar/fixtures/initial_toolbar.yaml +++ b/apps/toolbar/fixtures/initial_toolbar.yaml @@ -119,7 +119,9 @@ "--- "]]}], ["lineregexp", {"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "], ["(,,)\\s+", "$1"], ["\\s+(\")", "$1"], ["([^\\.])(\\s*)\n"}' + scriptlet: insert_text + slug: trim-begin + tooltip: "Wstawia pocz\u0105tkowy znacznik ci\u0119cia cz\u0119\u015Bci" + model: toolbar.button + pk: 106 +- fields: + accesskey: '' + group: [28] + label: trim end + link: '' + params: '{"text": "\n\n"}' + scriptlet: insert_text + slug: trim-end + tooltip: "Wstawia ko\u0144cowy znacznik ci\u0119cia cz\u0119\u015Bci" + model: toolbar.button + pk: 107 +- fields: + accesskey: r group: [15] label: "tytu\u0142 dzie\u0142a" link: '' @@ -850,7 +874,7 @@ model: toolbar.button pk: 48 - fields: - accesskey: '' + accesskey: f group: [12, 15] label: "wyr\xF3\u017Cnienie" link: '' @@ -965,6 +989,9 @@ \ cm.nthLine(cpos.line), cpos.character );\n}"} model: toolbar.scriptlet pk: fulltextregexp +- fields: {code: '-'} + model: toolbar.scriptlet + pk: insert_text - fields: {code: "var cm = panel.texteditor;\r\nvar text = cm.selection();\r\n\r\ \nif(!text) return;\r\nvar repl = '';\r\nvar lcase = text.toLowerCase();\r\ \nvar ucase = text.toUpperCase();\r\n\r\nif(lcase == text) repl = ucase;\ @@ -994,4 +1021,3 @@ - fields: {code: '-'} model: toolbar.scriptlet pk: slugify -