@ckeditor/ckeditor5-slash-command 39.0.1 → 40.0.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 (63) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +7 -7
  3. package/build/slash-command.js +1 -1
  4. package/build/translations/pt-br.js +1 -1
  5. package/lang/contexts.json +2 -1
  6. package/lang/translations/ar.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +3 -2
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sr.po +1 -0
  41. package/lang/translations/sv.po +1 -0
  42. package/lang/translations/th.po +1 -0
  43. package/lang/translations/tr.po +1 -0
  44. package/lang/translations/uk.po +1 -0
  45. package/lang/translations/uz.po +1 -0
  46. package/lang/translations/vi.po +1 -0
  47. package/lang/translations/zh-cn.po +1 -0
  48. package/lang/translations/zh.po +1 -0
  49. package/package.json +14 -17
  50. package/src/augmentation.d.ts +21 -21
  51. package/src/index.d.ts +13 -13
  52. package/src/slashcommand.d.ts +29 -29
  53. package/src/slashcommand.js +1 -1
  54. package/src/slashcommandconfig.d.ts +242 -242
  55. package/src/slashcommandconfig.js +1 -1
  56. package/src/slashcommandediting.d.ts +41 -41
  57. package/src/slashcommandediting.js +1 -1
  58. package/src/slashcommandeditorconfig.d.ts +96 -96
  59. package/src/slashcommandui.d.ts +33 -33
  60. package/src/slashcommandui.js +1 -1
  61. package/src/ui/slashcommandbuttonview.d.ts +31 -31
  62. package/src/ui/slashcommandbuttonview.js +1 -1
  63. package/theme/slashcommand.css +4 -0
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n"
16
16
  "Language: hu\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n"
16
16
  "Language: id\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n"
16
16
  "Language: it\n"
17
17
  "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
16
16
  "Language: ja\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n"
16
16
  "Language: ko\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
16
16
  "Language: lt\n"
17
17
  "Plural-Forms: nplurals=4; plural=(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);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
16
16
  "Language: lv\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n"
16
16
  "Language: ms\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
16
16
  "Language: nl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
16
16
  "Language: no\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
16
16
  "Language: pl\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,10 +15,11 @@ msgstr ""
15
15
  "Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
16
16
  "Language: pt_BR\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
21
- msgstr "Criar uma citação em bloco"
22
+ msgstr "Criar bloco de citação"
22
23
 
23
24
  msgctxt "Description of the button that inserts a bulleted list."
24
25
  msgid "Create a bulleted list"
@@ -102,4 +103,4 @@ msgstr "Inserir parágrafo"
102
103
 
103
104
  msgctxt "Description of the button that inserts a to-do list."
104
105
  msgid "Create a to-do list"
105
- msgstr "Criar uma lista de tarefas pendentes"
106
+ msgstr "Criar uma lista de tarefas"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
16
16
  "Language: pt\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
16
16
  "Language: ro\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
16
16
  "Language: ru\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
16
16
  "Language: sk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
16
16
  "Language: sr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
16
16
  "Language: sv\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
16
16
  "Language: th\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
16
  "Language: tr\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
16
  "Language: uk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n"
16
16
  "Language: uz\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
16
  "Language: vi\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
16
  "Language: zh_CN\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
16
  "Language: zh_TW\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-slash-command",
3
- "version": "39.0.1",
3
+ "version": "40.0.0",
4
4
  "description": "Slash command feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,22 +11,19 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-ckbox": "39.0.1",
15
- "@ckeditor/ckeditor5-ckfinder": "39.0.1",
16
- "@ckeditor/ckeditor5-code-block": "39.0.1",
17
- "@ckeditor/ckeditor5-heading": "39.0.1",
18
- "@ckeditor/ckeditor5-horizontal-line": "39.0.1",
19
- "@ckeditor/ckeditor5-html-embed": "39.0.1",
20
- "@ckeditor/ckeditor5-indent": "39.0.1",
21
- "@ckeditor/ckeditor5-list": "39.0.1",
22
- "@ckeditor/ckeditor5-table": "39.0.1",
23
- "@ckeditor/ckeditor5-document-outline": "39.0.1",
24
- "@ckeditor/ckeditor5-ui": "39.0.1",
25
- "ckeditor5": "39.0.1"
26
- },
27
- "engines": {
28
- "node": ">=16.0.0",
29
- "npm": ">=5.7.1"
14
+ "@ckeditor/ckeditor5-ai": "40.0.0",
15
+ "@ckeditor/ckeditor5-ckbox": "40.0.0",
16
+ "@ckeditor/ckeditor5-ckfinder": "40.0.0",
17
+ "@ckeditor/ckeditor5-code-block": "40.0.0",
18
+ "@ckeditor/ckeditor5-heading": "40.0.0",
19
+ "@ckeditor/ckeditor5-horizontal-line": "40.0.0",
20
+ "@ckeditor/ckeditor5-html-embed": "40.0.0",
21
+ "@ckeditor/ckeditor5-indent": "40.0.0",
22
+ "@ckeditor/ckeditor5-list": "40.0.0",
23
+ "@ckeditor/ckeditor5-table": "40.0.0",
24
+ "@ckeditor/ckeditor5-document-outline": "40.0.0",
25
+ "@ckeditor/ckeditor5-ui": "40.0.0",
26
+ "ckeditor5": "40.0.0"
30
27
  },
31
28
  "license": "SEE LICENSE IN LICENSE.md",
32
29
  "author": "CKSource (http://cksource.com/)",
@@ -1,21 +1,21 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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 type { SlashCommand, SlashCommandConfig, SlashCommandEditing, SlashCommandUI, SlashCommandEditorConfig } from './index';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface EditorConfig {
8
- /**
9
- * The configuration of the {@link module:slash-command/slashcommand~SlashCommand} feature.
10
- *
11
- * Read more in {@link module:slash-command/slashcommandeditorconfig~SlashCommandEditorConfig}.
12
- */
13
- slashCommand?: SlashCommandEditorConfig;
14
- }
15
- interface PluginsMap {
16
- [SlashCommand.pluginName]: SlashCommand;
17
- [SlashCommandConfig.pluginName]: SlashCommandConfig;
18
- [SlashCommandEditing.pluginName]: SlashCommandEditing;
19
- [SlashCommandUI.pluginName]: SlashCommandUI;
20
- }
21
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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 type { SlashCommand, SlashCommandConfig, SlashCommandEditing, SlashCommandUI, SlashCommandEditorConfig } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the {@link module:slash-command/slashcommand~SlashCommand} feature.
10
+ *
11
+ * Read more in {@link module:slash-command/slashcommandeditorconfig~SlashCommandEditorConfig}.
12
+ */
13
+ slashCommand?: SlashCommandEditorConfig;
14
+ }
15
+ interface PluginsMap {
16
+ [SlashCommand.pluginName]: SlashCommand;
17
+ [SlashCommandConfig.pluginName]: SlashCommandConfig;
18
+ [SlashCommandEditing.pluginName]: SlashCommandEditing;
19
+ [SlashCommandUI.pluginName]: SlashCommandUI;
20
+ }
21
+ }
package/src/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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
- * @module slash-command
7
- */
8
- export { default as SlashCommand } from './slashcommand';
9
- export { default as SlashCommandConfig } from './slashcommandconfig';
10
- export { default as SlashCommandEditing } from './slashcommandediting';
11
- export { default as SlashCommandUI } from './slashcommandui';
12
- export { type SlashCommandEditorConfig } from './slashcommandeditorconfig';
13
- import './augmentation';
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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
+ * @module slash-command
7
+ */
8
+ export { default as SlashCommand } from './slashcommand';
9
+ export { default as SlashCommandConfig } from './slashcommandconfig';
10
+ export { default as SlashCommandEditing } from './slashcommandediting';
11
+ export { default as SlashCommandUI } from './slashcommandui';
12
+ export { type SlashCommandEditorConfig } from './slashcommandeditorconfig';
13
+ import './augmentation';
@@ -1,29 +1,29 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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
- * @module slash-command/slashcommand
7
- * @publicApi
8
- */
9
- import { Plugin } from 'ckeditor5/src/core';
10
- import SlashCommandEditing from './slashcommandediting';
11
- import SlashCommandUI from './slashcommandui';
12
- /**
13
- * The slash command feature.
14
- * It allows for an easy access to a predefined list of editor commands by typing `/` inside the editor.
15
- *
16
- * For a detailed overview, check the {@glink features/slash-commands Slash command} feature guide.
17
- *
18
- * @extends module:core/plugin~Plugin
19
- */
20
- export default class SlashCommand extends Plugin {
21
- /**
22
- * @inheritDoc
23
- */
24
- static get requires(): readonly ["Mention", typeof SlashCommandEditing, typeof SlashCommandUI];
25
- /**
26
- * @inheritDoc
27
- */
28
- static get pluginName(): "SlashCommand";
29
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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
+ * @module slash-command/slashcommand
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core';
10
+ import SlashCommandEditing from './slashcommandediting';
11
+ import SlashCommandUI from './slashcommandui';
12
+ /**
13
+ * The slash command feature.
14
+ * It allows for an easy access to a predefined list of editor commands by typing `/` inside the editor.
15
+ *
16
+ * For a detailed overview, check the {@glink features/slash-commands Slash command} feature guide.
17
+ *
18
+ * @extends module:core/plugin~Plugin
19
+ */
20
+ export default class SlashCommand extends Plugin {
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get requires(): readonly ["Mention", typeof SlashCommandEditing, typeof SlashCommandUI];
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get pluginName(): "SlashCommand";
29
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x646d=['Mention','SlashCommand'];(function(_0x1f2c86,_0x646d6e){var _0x3d3f6e=function(_0x2b06ee){while(--_0x2b06ee){_0x1f2c86['push'](_0x1f2c86['shift']());}};_0x3d3f6e(++_0x646d6e);}(_0x646d,0x6c));var _0x3d3f=function(_0x1f2c86,_0x646d6e){_0x1f2c86=_0x1f2c86-0x0;var _0x3d3f6e=_0x646d[_0x1f2c86];return _0x3d3f6e;};import{Plugin as _0x25dd07}from'ckeditor5/src/core';import _0x204da7 from'./slashcommandediting';import _0x2eb28c from'./slashcommandui';export default class o extends _0x25dd07{static get['requires'](){return[_0x3d3f('0x0'),_0x204da7,_0x2eb28c];}static get['pluginName'](){return _0x3d3f('0x1');}}
23
+ var _0x44b4=['SlashCommand','pluginName','Mention'];(function(_0x2cd97b,_0x44b467){var _0x58f795=function(_0x2dc1ed){while(--_0x2dc1ed){_0x2cd97b['push'](_0x2cd97b['shift']());}};_0x58f795(++_0x44b467);}(_0x44b4,0x120));var _0x58f7=function(_0x2cd97b,_0x44b467){_0x2cd97b=_0x2cd97b-0x0;var _0x58f795=_0x44b4[_0x2cd97b];return _0x58f795;};import{Plugin as _0x3ade10}from'ckeditor5/src/core';import _0x216d4b from'./slashcommandediting';import _0x28b8bb from'./slashcommandui';export default class o extends _0x3ade10{static get['requires'](){return[_0x58f7('0x2'),_0x216d4b,_0x28b8bb];}static get[_0x58f7('0x1')](){return _0x58f7('0x0');}}