@ckeditor/ckeditor5-show-blocks 41.3.0 → 41.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/build/show-blocks.js +1 -1
  2. package/dist/index-content.css +4 -0
  3. package/dist/index-editor.css +532 -0
  4. package/dist/index.css +670 -0
  5. package/dist/index.css.map +1 -0
  6. package/dist/index.js +114 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/translations/ar.d.ts +8 -0
  9. package/dist/translations/ar.js +5 -0
  10. package/dist/translations/bg.d.ts +8 -0
  11. package/dist/translations/bg.js +5 -0
  12. package/dist/translations/bn.d.ts +8 -0
  13. package/dist/translations/bn.js +5 -0
  14. package/dist/translations/ca.d.ts +8 -0
  15. package/dist/translations/ca.js +5 -0
  16. package/dist/translations/cs.d.ts +8 -0
  17. package/dist/translations/cs.js +5 -0
  18. package/dist/translations/da.d.ts +8 -0
  19. package/dist/translations/da.js +5 -0
  20. package/dist/translations/de.d.ts +8 -0
  21. package/dist/translations/de.js +5 -0
  22. package/dist/translations/el.d.ts +8 -0
  23. package/dist/translations/el.js +5 -0
  24. package/dist/translations/en.d.ts +8 -0
  25. package/dist/translations/en.js +5 -0
  26. package/dist/translations/es-co.d.ts +8 -0
  27. package/dist/translations/es-co.js +5 -0
  28. package/dist/translations/es.d.ts +8 -0
  29. package/dist/translations/es.js +5 -0
  30. package/dist/translations/et.d.ts +8 -0
  31. package/dist/translations/et.js +5 -0
  32. package/dist/translations/fa.d.ts +8 -0
  33. package/dist/translations/fa.js +5 -0
  34. package/dist/translations/fi.d.ts +8 -0
  35. package/dist/translations/fi.js +5 -0
  36. package/dist/translations/fr.d.ts +8 -0
  37. package/dist/translations/fr.js +5 -0
  38. package/dist/translations/gl.d.ts +8 -0
  39. package/dist/translations/gl.js +5 -0
  40. package/dist/translations/he.d.ts +8 -0
  41. package/dist/translations/he.js +5 -0
  42. package/dist/translations/hi.d.ts +8 -0
  43. package/dist/translations/hi.js +5 -0
  44. package/dist/translations/hr.d.ts +8 -0
  45. package/dist/translations/hr.js +5 -0
  46. package/dist/translations/hu.d.ts +8 -0
  47. package/dist/translations/hu.js +5 -0
  48. package/dist/translations/id.d.ts +8 -0
  49. package/dist/translations/id.js +5 -0
  50. package/dist/translations/it.d.ts +8 -0
  51. package/dist/translations/it.js +5 -0
  52. package/dist/translations/ja.d.ts +8 -0
  53. package/dist/translations/ja.js +5 -0
  54. package/dist/translations/ko.d.ts +8 -0
  55. package/dist/translations/ko.js +5 -0
  56. package/dist/translations/lt.d.ts +8 -0
  57. package/dist/translations/lt.js +5 -0
  58. package/dist/translations/lv.d.ts +8 -0
  59. package/dist/translations/lv.js +5 -0
  60. package/dist/translations/ms.d.ts +8 -0
  61. package/dist/translations/ms.js +5 -0
  62. package/dist/translations/nl.d.ts +8 -0
  63. package/dist/translations/nl.js +5 -0
  64. package/dist/translations/no.d.ts +8 -0
  65. package/dist/translations/no.js +5 -0
  66. package/dist/translations/pl.d.ts +8 -0
  67. package/dist/translations/pl.js +5 -0
  68. package/dist/translations/pt-br.d.ts +8 -0
  69. package/dist/translations/pt-br.js +5 -0
  70. package/dist/translations/pt.d.ts +8 -0
  71. package/dist/translations/pt.js +5 -0
  72. package/dist/translations/ro.d.ts +8 -0
  73. package/dist/translations/ro.js +5 -0
  74. package/dist/translations/ru.d.ts +8 -0
  75. package/dist/translations/ru.js +5 -0
  76. package/dist/translations/sk.d.ts +8 -0
  77. package/dist/translations/sk.js +5 -0
  78. package/dist/translations/sq.d.ts +8 -0
  79. package/dist/translations/sq.js +5 -0
  80. package/dist/translations/sr-latn.d.ts +8 -0
  81. package/dist/translations/sr-latn.js +5 -0
  82. package/dist/translations/sr.d.ts +8 -0
  83. package/dist/translations/sr.js +5 -0
  84. package/dist/translations/sv.d.ts +8 -0
  85. package/dist/translations/sv.js +5 -0
  86. package/dist/translations/th.d.ts +8 -0
  87. package/dist/translations/th.js +5 -0
  88. package/dist/translations/tr.d.ts +8 -0
  89. package/dist/translations/tr.js +5 -0
  90. package/dist/translations/ug.d.ts +8 -0
  91. package/dist/translations/ug.js +5 -0
  92. package/dist/translations/uk.d.ts +8 -0
  93. package/dist/translations/uk.js +5 -0
  94. package/dist/translations/vi.d.ts +8 -0
  95. package/dist/translations/vi.js +5 -0
  96. package/dist/translations/zh-cn.d.ts +8 -0
  97. package/dist/translations/zh-cn.js +5 -0
  98. package/dist/translations/zh.d.ts +8 -0
  99. package/dist/translations/zh.js +5 -0
  100. package/dist/types/augmentation.d.ts +19 -0
  101. package/dist/types/index.d.ts +16 -0
  102. package/dist/types/showblocks.d.ts +29 -0
  103. package/dist/types/showblockscommand.d.ts +31 -0
  104. package/dist/types/showblocksediting.d.ts +25 -0
  105. package/dist/types/showblocksui.d.ts +33 -0
  106. package/package.json +4 -3
  107. package/theme/showblocks.css +24 -11
package/dist/index.js ADDED
@@ -0,0 +1,114 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';
6
+ import { ButtonView, MenuBarMenuListItemButtonView } from '@ckeditor/ckeditor5-ui/dist/index.js';
7
+
8
+ class ShowBlocksCommand extends Command {
9
+ /**
10
+ * Toggles the visibility of content blocks.
11
+ */ execute() {
12
+ const CLASS_NAME = 'ck-show-blocks';
13
+ const view = this.editor.editing.view;
14
+ view.change((writer)=>{
15
+ // Multiroot support.
16
+ for (const root of view.document.roots){
17
+ if (!root.hasClass(CLASS_NAME)) {
18
+ writer.addClass(CLASS_NAME, root);
19
+ this.value = true;
20
+ } else {
21
+ writer.removeClass(CLASS_NAME, root);
22
+ this.value = false;
23
+ }
24
+ }
25
+ });
26
+ }
27
+ /**
28
+ * @inheritDoc
29
+ */ constructor(editor){
30
+ super(editor);
31
+ // It does not affect data so should be enabled in read-only mode.
32
+ this.affectsData = false;
33
+ this.value = false;
34
+ }
35
+ }
36
+
37
+ class ShowBlocksEditing extends Plugin {
38
+ /**
39
+ * @inheritDoc
40
+ */ static get pluginName() {
41
+ return 'ShowBlocksEditing';
42
+ }
43
+ /**
44
+ * @inheritDoc
45
+ */ init() {
46
+ const { editor } = this;
47
+ editor.commands.add('showBlocks', new ShowBlocksCommand(editor));
48
+ }
49
+ }
50
+
51
+ var showBlocksIcon = "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m6.395 9.196 2.545-.007V6.498a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v6.877a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598v-2.691l-2.545.007v2.691a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598V6.505a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v2.691Z\"/><path d=\"M15.094 13.417V6.462a.562.562 0 0 0-.562-.562h-.782a1 1 0 0 0-.39.08l-1.017.43a.562.562 0 0 0-.343.517v.197c0 .4.406.67.775.519l.819-.337v6.111c0 .31.251.562.561.562h.377c.31 0 .562-.251.562-.562Z\"/><path d=\"M0 15.417v1.5h1.5v-1.5H0Z\"/><path d=\"M18.5 15.417v1.5H20v-1.5h-1.5Z\"/><path d=\"M18.5 12.333v1.5H20v-1.5h-1.5Z\"/><path d=\"M18.5 9.25v1.5H20v-1.5h-1.5Z\"/><path d=\"M18.5 6.167v1.5H20v-1.5h-1.5Z\"/><path d=\"M0 18.5v.5a1 1 0 0 0 1 1h.5v-1.5H0Z\"/><path d=\"M3.083 18.5V20h1.5v-1.5h-1.5Z\"/><path d=\"M6.167 18.5V20h1.5v-1.5h-1.5Z\"/><path d=\"M9.25 18.5V20h1.5v-1.5h-1.5Z\"/><path d=\"M12.333 18.5V20h1.5v-1.5h-1.5Z\"/><path d=\"M15.417 18.5V20h1.5v-1.5h-1.5Z\"/><path d=\"M18.5 18.5V20h.5a1 1 0 0 0 1-1v-.5h-1.5Z\"/><path clip-rule=\"evenodd\" d=\"M0 1a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v3.583h-1.5V1.5h-17v12.333H0V1Z\"/></svg>";
52
+
53
+ class ShowBlocksUI extends Plugin {
54
+ /**
55
+ * @inheritDoc
56
+ */ static get pluginName() {
57
+ return 'ShowBlocksUI';
58
+ }
59
+ /**
60
+ * @inheritDoc
61
+ */ init() {
62
+ const editor = this.editor;
63
+ editor.ui.componentFactory.add('showBlocks', ()=>{
64
+ const buttonView = this._createButton(ButtonView);
65
+ buttonView.set({
66
+ tooltip: true,
67
+ icon: showBlocksIcon
68
+ });
69
+ return buttonView;
70
+ });
71
+ editor.ui.componentFactory.add('menuBar:showBlocks', ()=>{
72
+ return this._createButton(MenuBarMenuListItemButtonView);
73
+ });
74
+ }
75
+ /**
76
+ * Creates a button for show blocks command to use either in toolbar or in menu bar.
77
+ */ _createButton(ButtonClass) {
78
+ const editor = this.editor;
79
+ const locale = editor.locale;
80
+ const command = editor.commands.get('showBlocks');
81
+ const view = new ButtonClass(locale);
82
+ const t = locale.t;
83
+ view.set({
84
+ label: t('Show blocks')
85
+ });
86
+ view.bind('isEnabled').to(command);
87
+ view.bind('isOn').to(command, 'value', command, 'isEnabled', (value, isEnabled)=>value && isEnabled);
88
+ // Execute the command.
89
+ this.listenTo(view, 'execute', ()=>{
90
+ editor.execute('showBlocks');
91
+ editor.editing.view.focus();
92
+ });
93
+ return view;
94
+ }
95
+ }
96
+
97
+ class ShowBlocks extends Plugin {
98
+ /**
99
+ * @inheritDoc
100
+ */ static get pluginName() {
101
+ return 'ShowBlocks';
102
+ }
103
+ /**
104
+ * @inheritDoc
105
+ */ static get requires() {
106
+ return [
107
+ ShowBlocksEditing,
108
+ ShowBlocksUI
109
+ ];
110
+ }
111
+ }
112
+
113
+ export { ShowBlocks, ShowBlocksCommand, ShowBlocksEditing, ShowBlocksUI };
114
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["index.js","../src/showblockscommand.ts","../src/showblocksediting.ts","../src/showblocksui.ts","../src/showblocks.ts"],"names":["ShowBlocksCommand","Command","execute","CLASS_NAME","view","editor","editing","change","writer","root","document","roots","hasClass","addClass","value","removeClass","constructor","affectsData","ShowBlocksEditing","Plugin","pluginName","init","commands","add","ShowBlocksUI","ui","componentFactory","buttonView","_createButton","ButtonView","set","tooltip","icon","showBlocksIcon","MenuBarMenuListItemButtonView","ButtonClass","locale","command","get","t","label","bind","to","isEnabled","listenTo","focus","ShowBlocks","requires"],"mappings":";;;;AAAA,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;AACzE,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;AACjG;ACcqB,KAAAA,CAAAA,iBAA0BC,CAAAA,OAAAA,CAAAA,OAAAA,CAAAA,CAAAA;AAkB9C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AD7BD,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;AC+B5C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACaC,OAAO,CAAA,CAAA,CAAA,CAAA;AACtB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAMC,CAAAA,UAAa,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,IAAA,CAAA,MAAA,CAAA,CAAA;AACnB,CAAA,CAAA,CA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A,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAA,CAAA,GAAA,CAAWC,UAAU,CAAA,CAAA,CAAA,CAAA;AJyE7B,CIxEE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAA,CAAO,CAAA,UAAA,CAAA,CAAA;AACR,CAAA,CAAA,CAAA,CAAA,CAAA;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AJwED,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU;AItEd,CACI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAA,CAAA,GAAA,CAAW2B,QAAQ,CAAA,CAAA,CAAA,CAAA;AJuE3B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CItEL,MAAO,CAAA,CAAA;AAAE7B,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,iBAAAA,CAAAA;AAAmBM,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,YAAAA;AAAuB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACpD,CAAA,CAAA,CAAA,CAAA,CAAA;AACA,CAAA;AJ0ED;AACA,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;AAC1E,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG","file":"index.js.map","sourcesContent":["import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';\nimport { ButtonView, MenuBarMenuListItemButtonView } from '@ckeditor/ckeditor5-ui/dist/index.js';\n\nclass ShowBlocksCommand extends Command {\n /**\n * Toggles the visibility of content blocks.\n */ execute() {\n const CLASS_NAME = 'ck-show-blocks';\n const view = this.editor.editing.view;\n view.change((writer)=>{\n // Multiroot support.\n for (const root of view.document.roots){\n if (!root.hasClass(CLASS_NAME)) {\n writer.addClass(CLASS_NAME, root);\n this.value = true;\n } else {\n writer.removeClass(CLASS_NAME, root);\n this.value = false;\n }\n }\n });\n }\n /**\n * @inheritDoc\n */ constructor(editor){\n super(editor);\n // It does not affect data so should be enabled in read-only mode.\n this.affectsData = false;\n this.value = false;\n }\n}\n\nclass ShowBlocksEditing extends Plugin {\n /**\n * @inheritDoc\n */ static get pluginName() {\n return 'ShowBlocksEditing';\n }\n /**\n * @inheritDoc\n */ init() {\n const { editor } = this;\n editor.commands.add('showBlocks', new ShowBlocksCommand(editor));\n }\n}\n\nvar showBlocksIcon = \"<svg viewBox=\\\"0 0 20 20\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"m6.395 9.196 2.545-.007V6.498a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v6.877a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598v-2.691l-2.545.007v2.691a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598V6.505a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v2.691Z\\\"/><path d=\\\"M15.094 13.417V6.462a.562.562 0 0 0-.562-.562h-.782a1 1 0 0 0-.39.08l-1.017.43a.562.562 0 0 0-.343.517v.197c0 .4.406.67.775.519l.819-.337v6.111c0 .31.251.562.561.562h.377c.31 0 .562-.251.562-.562Z\\\"/><path d=\\\"M0 15.417v1.5h1.5v-1.5H0Z\\\"/><path d=\\\"M18.5 15.417v1.5H20v-1.5h-1.5Z\\\"/><path d=\\\"M18.5 12.333v1.5H20v-1.5h-1.5Z\\\"/><path d=\\\"M18.5 9.25v1.5H20v-1.5h-1.5Z\\\"/><path d=\\\"M18.5 6.167v1.5H20v-1.5h-1.5Z\\\"/><path d=\\\"M0 18.5v.5a1 1 0 0 0 1 1h.5v-1.5H0Z\\\"/><path d=\\\"M3.083 18.5V20h1.5v-1.5h-1.5Z\\\"/><path d=\\\"M6.167 18.5V20h1.5v-1.5h-1.5Z\\\"/><path d=\\\"M9.25 18.5V20h1.5v-1.5h-1.5Z\\\"/><path d=\\\"M12.333 18.5V20h1.5v-1.5h-1.5Z\\\"/><path d=\\\"M15.417 18.5V20h1.5v-1.5h-1.5Z\\\"/><path d=\\\"M18.5 18.5V20h.5a1 1 0 0 0 1-1v-.5h-1.5Z\\\"/><path clip-rule=\\\"evenodd\\\" d=\\\"M0 1a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v3.583h-1.5V1.5h-17v12.333H0V1Z\\\"/></svg>\";\n\nclass ShowBlocksUI extends Plugin {\n /**\n * @inheritDoc\n */ static get pluginName() {\n return 'ShowBlocksUI';\n }\n /**\n * @inheritDoc\n */ init() {\n const editor = this.editor;\n editor.ui.componentFactory.add('showBlocks', ()=>{\n const buttonView = this._createButton(ButtonView);\n buttonView.set({\n tooltip: true,\n icon: showBlocksIcon\n });\n return buttonView;\n });\n editor.ui.componentFactory.add('menuBar:showBlocks', ()=>{\n return this._createButton(MenuBarMenuListItemButtonView);\n });\n }\n /**\n * Creates a button for show blocks command to use either in toolbar or in menu bar.\n */ _createButton(ButtonClass) {\n const editor = this.editor;\n const locale = editor.locale;\n const command = editor.commands.get('showBlocks');\n const view = new ButtonClass(locale);\n const t = locale.t;\n view.set({\n label: t('Show blocks')\n });\n view.bind('isEnabled').to(command);\n view.bind('isOn').to(command, 'value', command, 'isEnabled', (value, isEnabled)=>value && isEnabled);\n // Execute the command.\n this.listenTo(view, 'execute', ()=>{\n editor.execute('showBlocks');\n editor.editing.view.focus();\n });\n return view;\n }\n}\n\nclass ShowBlocks extends Plugin {\n /**\n * @inheritDoc\n */ static get pluginName() {\n return 'ShowBlocks';\n }\n /**\n * @inheritDoc\n */ static get requires() {\n return [\n ShowBlocksEditing,\n ShowBlocksUI\n ];\n }\n}\n\nexport { ShowBlocks, ShowBlocksCommand, ShowBlocksEditing, ShowBlocksUI };\n//# sourceMappingURL=index.js.map\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module show-blocks/showblockscommand\n */\n\nimport { Command, type Editor } from 'ckeditor5/src/core.js';\n\n/**\n * The show blocks command.\n *\n * Displays the HTML element names for content blocks.\n */\nexport default class ShowBlocksCommand extends Command {\n\t/**\n\t * Flag indicating whether the command is active, i.e. content blocks are displayed.\n\t */\n\tdeclare public value: boolean;\n\n\t/**\n\t * @inheritDoc\n\t */\n\tconstructor( editor: Editor ) {\n\t\tsuper( editor );\n\n\t\t// It does not affect data so should be enabled in read-only mode.\n\t\tthis.affectsData = false;\n\n\t\tthis.value = false;\n\t}\n\n\t/**\n\t * Toggles the visibility of content blocks.\n\t */\n\tpublic override execute(): void {\n\t\tconst CLASS_NAME = 'ck-show-blocks';\n\t\tconst view = this.editor.editing.view;\n\n\t\tview.change( writer => {\n\t\t\t// Multiroot support.\n\t\t\tfor ( const root of view.document.roots ) {\n\t\t\t\tif ( !root.hasClass( CLASS_NAME ) ) {\n\t\t\t\t\twriter.addClass( CLASS_NAME, root );\n\t\t\t\t\tthis.value = true;\n\t\t\t\t} else {\n\t\t\t\t\twriter.removeClass( CLASS_NAME, root );\n\t\t\t\t\tthis.value = false;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module show-blocks/showblocksediting\n */\n\nimport { Plugin } from 'ckeditor5/src/core.js';\nimport ShowBlocksCommand from './showblockscommand.js';\n\n/**\n * The show blocks editing plugin.\n */\nexport default class ShowBlocksEditing extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'ShowBlocksEditing' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst { editor } = this;\n\n\t\teditor.commands.add( 'showBlocks', new ShowBlocksCommand( editor ) );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module show-blocks/showblocksui\n */\n\nimport { Plugin } from 'ckeditor5/src/core.js';\nimport { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';\n\nimport showBlocksIcon from '../theme/icons/show-blocks.svg';\nimport '../theme/showblocks.css';\n\n/**\n * The UI plugin of the show blocks feature.\n *\n * It registers the `'showBlocks'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}\n * that toggles the visibility of the HTML element names of content blocks.\n */\nexport default class ShowBlocksUI extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'ShowBlocksUI' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\n\t\teditor.ui.componentFactory.add( 'showBlocks', () => {\n\t\t\tconst buttonView = this._createButton( ButtonView );\n\n\t\t\tbuttonView.set( {\n\t\t\t\ttooltip: true,\n\t\t\t\ticon: showBlocksIcon\n\t\t\t} );\n\n\t\t\treturn buttonView;\n\t\t} );\n\n\t\teditor.ui.componentFactory.add( 'menuBar:showBlocks', () => {\n\t\t\treturn this._createButton( MenuBarMenuListItemButtonView );\n\t\t} );\n\t}\n\n\t/**\n\t * Creates a button for show blocks command to use either in toolbar or in menu bar.\n\t */\n\tprivate _createButton<T extends typeof ButtonView | typeof MenuBarMenuListItemButtonView>( ButtonClass: T ): InstanceType<T> {\n\t\tconst editor = this.editor;\n\t\tconst locale = editor.locale;\n\t\tconst command = editor.commands.get( 'showBlocks' )!;\n\t\tconst view = new ButtonClass( locale ) as InstanceType<T>;\n\t\tconst t = locale.t;\n\n\t\tview.set( {\n\t\t\tlabel: t( 'Show blocks' )\n\t\t} );\n\n\t\tview.bind( 'isEnabled' ).to( command );\n\t\tview.bind( 'isOn' ).to( command, 'value', command, 'isEnabled', ( value, isEnabled ) => value && isEnabled );\n\n\t\t// Execute the command.\n\t\tthis.listenTo( view, 'execute', () => {\n\t\t\teditor.execute( 'showBlocks' );\n\t\t\teditor.editing.view.focus();\n\t\t} );\n\n\t\treturn view;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module show-blocks/showblocks\n */\n\nimport { Plugin } from 'ckeditor5/src/core.js';\n\nimport ShowBlocksEditing from './showblocksediting.js';\nimport ShowBlocksUI from './showblocksui.js';\n\n/**\n * The show blocks feature.\n *\n * For a detailed overview, check the {@glink features/show-blocks Show blocks} feature guide.\n */\nexport default class ShowBlocks extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'ShowBlocks' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ ShowBlocksEditing, ShowBlocksUI ] as const;\n\t}\n}\n"]}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"ar":{"dictionary":{"Show blocks":"عرض الكتل"},getPluralForm(n){return n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"bg":{"dictionary":{"Show blocks":"Покажи блокове"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"bn":{"dictionary":{"Show blocks":"ব্লকগুলি দেখান"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"ca":{"dictionary":{"Show blocks":"Mostra blocs"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"cs":{"dictionary":{"Show blocks":"Zobrazit bloky"},getPluralForm(n){return (n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"da":{"dictionary":{"Show blocks":"Vis blokke"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"de":{"dictionary":{"Show blocks":"Blöcke anzeigen"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"el":{"dictionary":{"Show blocks":"Εμφάνιση μπλοκ"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"en":{"dictionary":{"Show blocks":"Show blocks"},"getPluralForm":null}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"es-co":{"dictionary":{"Show blocks":"Mostrar bloques"},getPluralForm(n){return n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"es":{"dictionary":{"Show blocks":"Mostrar bloques"},getPluralForm(n){return n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"et":{"dictionary":{"Show blocks":"Kuva plokid"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"fa":{"dictionary":{"Show blocks":"نمایش بلاک ها"},getPluralForm(n){return (n > 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"fi":{"dictionary":{"Show blocks":"Näytä rakenneosat"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"fr":{"dictionary":{"Show blocks":"Afficher les blocs"},getPluralForm(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"gl":{"dictionary":{"Show blocks":"Amosar os bloques"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"he":{"dictionary":{"Show blocks":"הצג גושים"},getPluralForm(n){return (n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"hi":{"dictionary":{"Show blocks":"ब्लॉक दिखाएं"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"hr":{"dictionary":{"Show blocks":"Prikaži blokove"},getPluralForm(n){return n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"hu":{"dictionary":{"Show blocks":"Blokkok megjelenítése"},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"id":{"dictionary":{"Show blocks":"Tampilkan blok"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"it":{"dictionary":{"Show blocks":"Mostra blocchi"},getPluralForm(n){return n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"ja":{"dictionary":{"Show blocks":"ブロックを表示します"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"ko":{"dictionary":{"Show blocks":"블록 표시"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"lt":{"dictionary":{"Show blocks":"Rodyti blokus"},getPluralForm(n){return (n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);}}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export default {"lv":{"dictionary":{"Show blocks":"Rādīt blokus"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);}}}