@ckeditor/ckeditor5-slash-command 0.0.1 → 37.1.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 (103) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +35 -3
  3. package/build/slash-command.js +5 -0
  4. package/build/translations/ar.js +1 -0
  5. package/build/translations/bg.js +1 -0
  6. package/build/translations/bn.js +1 -0
  7. package/build/translations/ca.js +1 -0
  8. package/build/translations/cs.js +1 -0
  9. package/build/translations/da.js +1 -0
  10. package/build/translations/de.js +1 -0
  11. package/build/translations/el.js +1 -0
  12. package/build/translations/es.js +1 -0
  13. package/build/translations/et.js +1 -0
  14. package/build/translations/fi.js +1 -0
  15. package/build/translations/fr.js +1 -0
  16. package/build/translations/he.js +1 -0
  17. package/build/translations/hi.js +1 -0
  18. package/build/translations/hr.js +1 -0
  19. package/build/translations/hu.js +1 -0
  20. package/build/translations/id.js +1 -0
  21. package/build/translations/it.js +1 -0
  22. package/build/translations/ja.js +1 -0
  23. package/build/translations/ko.js +1 -0
  24. package/build/translations/lt.js +1 -0
  25. package/build/translations/lv.js +1 -0
  26. package/build/translations/ms.js +1 -0
  27. package/build/translations/nl.js +1 -0
  28. package/build/translations/no.js +1 -0
  29. package/build/translations/pl.js +1 -0
  30. package/build/translations/pt-br.js +1 -0
  31. package/build/translations/pt.js +1 -0
  32. package/build/translations/ro.js +1 -0
  33. package/build/translations/ru.js +1 -0
  34. package/build/translations/sk.js +1 -0
  35. package/build/translations/sr.js +1 -0
  36. package/build/translations/sv.js +1 -0
  37. package/build/translations/th.js +1 -0
  38. package/build/translations/tr.js +1 -0
  39. package/build/translations/uk.js +1 -0
  40. package/build/translations/vi.js +1 -0
  41. package/build/translations/zh-cn.js +1 -0
  42. package/build/translations/zh.js +1 -0
  43. package/ckeditor5-metadata.json +11 -0
  44. package/lang/contexts.json +24 -0
  45. package/lang/translations/ar.po +105 -0
  46. package/lang/translations/bg.po +105 -0
  47. package/lang/translations/bn.po +105 -0
  48. package/lang/translations/ca.po +105 -0
  49. package/lang/translations/cs.po +105 -0
  50. package/lang/translations/da.po +105 -0
  51. package/lang/translations/de.po +105 -0
  52. package/lang/translations/el.po +105 -0
  53. package/lang/translations/en.po +105 -0
  54. package/lang/translations/es.po +105 -0
  55. package/lang/translations/et.po +105 -0
  56. package/lang/translations/fi.po +105 -0
  57. package/lang/translations/fr.po +105 -0
  58. package/lang/translations/he.po +105 -0
  59. package/lang/translations/hi.po +105 -0
  60. package/lang/translations/hr.po +105 -0
  61. package/lang/translations/hu.po +105 -0
  62. package/lang/translations/id.po +105 -0
  63. package/lang/translations/it.po +105 -0
  64. package/lang/translations/ja.po +105 -0
  65. package/lang/translations/ko.po +105 -0
  66. package/lang/translations/lt.po +105 -0
  67. package/lang/translations/lv.po +105 -0
  68. package/lang/translations/ms.po +105 -0
  69. package/lang/translations/nl.po +105 -0
  70. package/lang/translations/no.po +105 -0
  71. package/lang/translations/pl.po +105 -0
  72. package/lang/translations/pt-br.po +105 -0
  73. package/lang/translations/pt.po +105 -0
  74. package/lang/translations/ro.po +105 -0
  75. package/lang/translations/ru.po +105 -0
  76. package/lang/translations/sk.po +105 -0
  77. package/lang/translations/sr.po +105 -0
  78. package/lang/translations/sv.po +105 -0
  79. package/lang/translations/th.po +105 -0
  80. package/lang/translations/tr.po +105 -0
  81. package/lang/translations/uk.po +105 -0
  82. package/lang/translations/vi.po +105 -0
  83. package/lang/translations/zh-cn.po +105 -0
  84. package/lang/translations/zh.po +105 -0
  85. package/package.json +35 -4
  86. package/src/augmentation.d.ts +21 -0
  87. package/src/augmentation.js +23 -0
  88. package/src/index.d.ts +13 -0
  89. package/src/index.js +23 -0
  90. package/src/slashcommand.d.ts +27 -0
  91. package/src/slashcommand.js +23 -0
  92. package/src/slashcommandconfig.d.ts +242 -0
  93. package/src/slashcommandconfig.js +23 -0
  94. package/src/slashcommandediting.d.ts +37 -0
  95. package/src/slashcommandediting.js +23 -0
  96. package/src/slashcommandeditorconfig.d.ts +96 -0
  97. package/src/slashcommandeditorconfig.js +23 -0
  98. package/src/slashcommandui.d.ts +33 -0
  99. package/src/slashcommandui.js +23 -0
  100. package/src/ui/slashcommandbuttonview.d.ts +31 -0
  101. package/src/ui/slashcommandbuttonview.js +23 -0
  102. package/theme/icons/play.svg +1 -0
  103. package/theme/slashcommand.css +73 -0
@@ -0,0 +1,105 @@
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
+ "Language: uk\n"
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
+
19
+ msgctxt "Description of the button that creates a block quote"
20
+ msgid "Create a block quote"
21
+ msgstr "Створити блокову цитату"
22
+
23
+ msgctxt "Description of the button that inserts a bulleted list"
24
+ msgid "Create a bulleted list"
25
+ msgstr "Створити маркований список"
26
+
27
+ msgctxt "Description of the button that inserts a code block"
28
+ msgid "Create a code block"
29
+ msgstr "Створити кодовий блок"
30
+
31
+ msgctxt "Description of the button that opens a file manager to insert an image or a file"
32
+ msgid "Open file manager to insert an image or a file"
33
+ msgstr "Відкрити файловий провідник, щоб вставити зображення або файл."
34
+
35
+ msgctxt "Description of the button that opens a file browser to insert an image or a file"
36
+ msgid "Open file browser to insert an image or a file"
37
+ msgstr "Відкрити переглядач файлів, щоб вставити зображення або файл"
38
+
39
+ msgctxt "Description of the button that inserts a heading level 1"
40
+ msgid "Create a heading level 1"
41
+ msgstr "Створити заголовок 1 рівня"
42
+
43
+ msgctxt "Description of the button that inserts a heading level 2"
44
+ msgid "Create a heading level 2"
45
+ msgstr "Створити заголовок 2 рівня"
46
+
47
+ msgctxt "Description of the button that inserts a heading level 3"
48
+ msgid "Create a heading level 3"
49
+ msgstr "Створити заголовок 3 рівня"
50
+
51
+ msgctxt "Description of the button that inserts a heading level 4"
52
+ msgid "Create a heading level 4"
53
+ msgstr "Створити заголовок 4 рівня"
54
+
55
+ msgctxt "Description of the button that inserts a heading level 5"
56
+ msgid "Create a heading level 5"
57
+ msgstr "Створити заголовок 5 рівня"
58
+
59
+ msgctxt "Description of the button that inserts a heading level 6"
60
+ msgid "Create a heading level 6"
61
+ msgstr "Створити заголовок 6 рівня"
62
+
63
+ msgctxt "Description of the button that inserts a horizontal line"
64
+ msgid "Insert a horizontal line"
65
+ msgstr "Вставити горизонтальну лінію"
66
+
67
+ msgctxt "Description of the button that inserts an HTML snippet"
68
+ msgid "Insert an HTML snippet"
69
+ msgstr "Вставити фрагмент HTML"
70
+
71
+ msgctxt "Description of the button that increases the indentation"
72
+ msgid "Increase the indentation"
73
+ msgstr "Збільшити відступ"
74
+
75
+ msgctxt "Title of slash commands entry that inserts a Mermaid diagram. It's visible in the dropdown."
76
+ msgid "Insert Mermaid diagram"
77
+ msgstr "Вставити діаграму Mermaid"
78
+
79
+ msgctxt "Description of the button that inserts a Mermaid diagram"
80
+ msgid "Insert the Mermaid diagram"
81
+ msgstr "Вставити діаграму Mermaid"
82
+
83
+ msgctxt "Description of the button that inserts a table"
84
+ msgid "Create a table"
85
+ msgstr "Створити таблицю"
86
+
87
+ msgctxt "Description of the button that inserts a table of contents"
88
+ msgid "Insert table of contents"
89
+ msgstr "Вставити зміст"
90
+
91
+ msgctxt "Description of the button that creates a numbered list"
92
+ msgid "Create a numbered list"
93
+ msgstr "Створити нумерований список"
94
+
95
+ msgctxt "Description of the button that decreases the indentation"
96
+ msgid "Decrease the indentation"
97
+ msgstr "Зменшити відступ"
98
+
99
+ msgctxt "Description of the button that inserts a paragraph"
100
+ msgid "Insert a paragraph"
101
+ msgstr "Вставити абзац"
102
+
103
+ msgctxt "Description of the button that inserts a to-do list"
104
+ msgid "Create a to-do list"
105
+ msgstr "Створити список справ"
@@ -0,0 +1,105 @@
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
+ "Language: vi\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "Description of the button that creates a block quote"
20
+ msgid "Create a block quote"
21
+ msgstr "Tạo khối trích dẫn"
22
+
23
+ msgctxt "Description of the button that inserts a bulleted list"
24
+ msgid "Create a bulleted list"
25
+ msgstr "Tạo danh sách đánh dấu đầu dòng"
26
+
27
+ msgctxt "Description of the button that inserts a code block"
28
+ msgid "Create a code block"
29
+ msgstr "Tạo khối mã"
30
+
31
+ msgctxt "Description of the button that opens a file manager to insert an image or a file"
32
+ msgid "Open file manager to insert an image or a file"
33
+ msgstr "Mở trình quản lý tệp để chèn ảnh hoặc tệp"
34
+
35
+ msgctxt "Description of the button that opens a file browser to insert an image or a file"
36
+ msgid "Open file browser to insert an image or a file"
37
+ msgstr "Mở trình duyệt tệp để chèn ảnh hoặc tệp"
38
+
39
+ msgctxt "Description of the button that inserts a heading level 1"
40
+ msgid "Create a heading level 1"
41
+ msgstr "Tạo tiêu đề cấp 1"
42
+
43
+ msgctxt "Description of the button that inserts a heading level 2"
44
+ msgid "Create a heading level 2"
45
+ msgstr "Tạo tiêu đề cấp 2"
46
+
47
+ msgctxt "Description of the button that inserts a heading level 3"
48
+ msgid "Create a heading level 3"
49
+ msgstr "Tạo tiêu đề cấp 3"
50
+
51
+ msgctxt "Description of the button that inserts a heading level 4"
52
+ msgid "Create a heading level 4"
53
+ msgstr "Tạo tiêu đề cấp 4"
54
+
55
+ msgctxt "Description of the button that inserts a heading level 5"
56
+ msgid "Create a heading level 5"
57
+ msgstr "Tạo tiêu đề cấp 5"
58
+
59
+ msgctxt "Description of the button that inserts a heading level 6"
60
+ msgid "Create a heading level 6"
61
+ msgstr "Tạo tiêu đề cấp 6"
62
+
63
+ msgctxt "Description of the button that inserts a horizontal line"
64
+ msgid "Insert a horizontal line"
65
+ msgstr "Chèn dòng ngang"
66
+
67
+ msgctxt "Description of the button that inserts an HTML snippet"
68
+ msgid "Insert an HTML snippet"
69
+ msgstr "Chèn đoạn HTML"
70
+
71
+ msgctxt "Description of the button that increases the indentation"
72
+ msgid "Increase the indentation"
73
+ msgstr "Tăng thụt lề"
74
+
75
+ msgctxt "Title of slash commands entry that inserts a Mermaid diagram. It's visible in the dropdown."
76
+ msgid "Insert Mermaid diagram"
77
+ msgstr "Chèn biểu đồ Mermaid"
78
+
79
+ msgctxt "Description of the button that inserts a Mermaid diagram"
80
+ msgid "Insert the Mermaid diagram"
81
+ msgstr "Chèn biểu đồ Mermaid"
82
+
83
+ msgctxt "Description of the button that inserts a table"
84
+ msgid "Create a table"
85
+ msgstr "Tạo bảng"
86
+
87
+ msgctxt "Description of the button that inserts a table of contents"
88
+ msgid "Insert table of contents"
89
+ msgstr "Chèn mục lục"
90
+
91
+ msgctxt "Description of the button that creates a numbered list"
92
+ msgid "Create a numbered list"
93
+ msgstr "Tạo danh sách đánh số đầu dòng"
94
+
95
+ msgctxt "Description of the button that decreases the indentation"
96
+ msgid "Decrease the indentation"
97
+ msgstr "Giảm thụt lề"
98
+
99
+ msgctxt "Description of the button that inserts a paragraph"
100
+ msgid "Insert a paragraph"
101
+ msgstr "Chèn đoạn văn"
102
+
103
+ msgctxt "Description of the button that inserts a to-do list"
104
+ msgid "Create a to-do list"
105
+ msgstr "Tạo danh sách việc cần làm"
@@ -0,0 +1,105 @@
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
+ "Language: zh_CN\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "Description of the button that creates a block quote"
20
+ msgid "Create a block quote"
21
+ msgstr "创建一个块引用"
22
+
23
+ msgctxt "Description of the button that inserts a bulleted list"
24
+ msgid "Create a bulleted list"
25
+ msgstr "创建一个带圆点的列表"
26
+
27
+ msgctxt "Description of the button that inserts a code block"
28
+ msgid "Create a code block"
29
+ msgstr "创建一个代码块"
30
+
31
+ msgctxt "Description of the button that opens a file manager to insert an image or a file"
32
+ msgid "Open file manager to insert an image or a file"
33
+ msgstr "打开文件管理器,插入一个图像或文件"
34
+
35
+ msgctxt "Description of the button that opens a file browser to insert an image or a file"
36
+ msgid "Open file browser to insert an image or a file"
37
+ msgstr "打开文件浏览器,插入一个图像或文件"
38
+
39
+ msgctxt "Description of the button that inserts a heading level 1"
40
+ msgid "Create a heading level 1"
41
+ msgstr "创建一个一级标题"
42
+
43
+ msgctxt "Description of the button that inserts a heading level 2"
44
+ msgid "Create a heading level 2"
45
+ msgstr "创建一个二级标题"
46
+
47
+ msgctxt "Description of the button that inserts a heading level 3"
48
+ msgid "Create a heading level 3"
49
+ msgstr "创建一个三级标题"
50
+
51
+ msgctxt "Description of the button that inserts a heading level 4"
52
+ msgid "Create a heading level 4"
53
+ msgstr "创建一个四级标题"
54
+
55
+ msgctxt "Description of the button that inserts a heading level 5"
56
+ msgid "Create a heading level 5"
57
+ msgstr "创建一个五级标题"
58
+
59
+ msgctxt "Description of the button that inserts a heading level 6"
60
+ msgid "Create a heading level 6"
61
+ msgstr "创建一个六级标题"
62
+
63
+ msgctxt "Description of the button that inserts a horizontal line"
64
+ msgid "Insert a horizontal line"
65
+ msgstr "插入一条横线"
66
+
67
+ msgctxt "Description of the button that inserts an HTML snippet"
68
+ msgid "Insert an HTML snippet"
69
+ msgstr "插入一个HTML片段"
70
+
71
+ msgctxt "Description of the button that increases the indentation"
72
+ msgid "Increase the indentation"
73
+ msgstr "增加缩进"
74
+
75
+ msgctxt "Title of slash commands entry that inserts a Mermaid diagram. It's visible in the dropdown."
76
+ msgid "Insert Mermaid diagram"
77
+ msgstr "插入 \"美人鱼 \"图示"
78
+
79
+ msgctxt "Description of the button that inserts a Mermaid diagram"
80
+ msgid "Insert the Mermaid diagram"
81
+ msgstr "插入 \"美人鱼 \"图示"
82
+
83
+ msgctxt "Description of the button that inserts a table"
84
+ msgid "Create a table"
85
+ msgstr "创建一个表格"
86
+
87
+ msgctxt "Description of the button that inserts a table of contents"
88
+ msgid "Insert table of contents"
89
+ msgstr "插入目录"
90
+
91
+ msgctxt "Description of the button that creates a numbered list"
92
+ msgid "Create a numbered list"
93
+ msgstr "创建一个带编号的列表"
94
+
95
+ msgctxt "Description of the button that decreases the indentation"
96
+ msgid "Decrease the indentation"
97
+ msgstr "减少缩进"
98
+
99
+ msgctxt "Description of the button that inserts a paragraph"
100
+ msgid "Insert a paragraph"
101
+ msgstr "插入一个段落"
102
+
103
+ msgctxt "Description of the button that inserts a to-do list"
104
+ msgid "Create a to-do list"
105
+ msgstr "创建一个待办事项清单"
@@ -0,0 +1,105 @@
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
+ "Language: zh_TW\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "Description of the button that creates a block quote"
20
+ msgid "Create a block quote"
21
+ msgstr "建立區塊引述"
22
+
23
+ msgctxt "Description of the button that inserts a bulleted list"
24
+ msgid "Create a bulleted list"
25
+ msgstr "建立項目清單"
26
+
27
+ msgctxt "Description of the button that inserts a code block"
28
+ msgid "Create a code block"
29
+ msgstr "建立程式碼區塊"
30
+
31
+ msgctxt "Description of the button that opens a file manager to insert an image or a file"
32
+ msgid "Open file manager to insert an image or a file"
33
+ msgstr "開啟檔案管理員來插入圖片或檔案"
34
+
35
+ msgctxt "Description of the button that opens a file browser to insert an image or a file"
36
+ msgid "Open file browser to insert an image or a file"
37
+ msgstr "開啟檔案瀏覽工具來插入圖片或檔案"
38
+
39
+ msgctxt "Description of the button that inserts a heading level 1"
40
+ msgid "Create a heading level 1"
41
+ msgstr "建立標題層級 1"
42
+
43
+ msgctxt "Description of the button that inserts a heading level 2"
44
+ msgid "Create a heading level 2"
45
+ msgstr "建立標題層級 2"
46
+
47
+ msgctxt "Description of the button that inserts a heading level 3"
48
+ msgid "Create a heading level 3"
49
+ msgstr "建立標題層級 3"
50
+
51
+ msgctxt "Description of the button that inserts a heading level 4"
52
+ msgid "Create a heading level 4"
53
+ msgstr "建立標題層級 4"
54
+
55
+ msgctxt "Description of the button that inserts a heading level 5"
56
+ msgid "Create a heading level 5"
57
+ msgstr "建立標題層級 5"
58
+
59
+ msgctxt "Description of the button that inserts a heading level 6"
60
+ msgid "Create a heading level 6"
61
+ msgstr "建立標題層級 6"
62
+
63
+ msgctxt "Description of the button that inserts a horizontal line"
64
+ msgid "Insert a horizontal line"
65
+ msgstr "插入水平線"
66
+
67
+ msgctxt "Description of the button that inserts an HTML snippet"
68
+ msgid "Insert an HTML snippet"
69
+ msgstr "插入 HTML 程式碼片段"
70
+
71
+ msgctxt "Description of the button that increases the indentation"
72
+ msgid "Increase the indentation"
73
+ msgstr "增加縮排"
74
+
75
+ msgctxt "Title of slash commands entry that inserts a Mermaid diagram. It's visible in the dropdown."
76
+ msgid "Insert Mermaid diagram"
77
+ msgstr "插入 Mermaid 圖表"
78
+
79
+ msgctxt "Description of the button that inserts a Mermaid diagram"
80
+ msgid "Insert the Mermaid diagram"
81
+ msgstr "插入 Mermaid 圖表"
82
+
83
+ msgctxt "Description of the button that inserts a table"
84
+ msgid "Create a table"
85
+ msgstr "建立表格"
86
+
87
+ msgctxt "Description of the button that inserts a table of contents"
88
+ msgid "Insert table of contents"
89
+ msgstr "插入內容目錄"
90
+
91
+ msgctxt "Description of the button that creates a numbered list"
92
+ msgid "Create a numbered list"
93
+ msgstr "建立數字清單"
94
+
95
+ msgctxt "Description of the button that decreases the indentation"
96
+ msgid "Decrease the indentation"
97
+ msgstr "減少縮排"
98
+
99
+ msgctxt "Description of the button that inserts a paragraph"
100
+ msgid "Insert a paragraph"
101
+ msgstr "插入段落"
102
+
103
+ msgctxt "Description of the button that inserts a to-do list"
104
+ msgid "Create a to-do list"
105
+ msgstr "建立待辦清單"
package/package.json CHANGED
@@ -1,15 +1,46 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-slash-command",
3
- "version": "0.0.1",
3
+ "version": "37.1.0",
4
4
  "description": "Slash command feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
7
7
  "ckeditor5",
8
8
  "ckeditor 5",
9
- "ckeditor5-lib"
9
+ "ckeditor5-feature",
10
+ "ckeditor5-plugin"
10
11
  ],
12
+ "main": "src/index.js",
13
+ "dependencies": {
14
+ "@ckeditor/ckeditor5-ckbox": "^37.1.0",
15
+ "@ckeditor/ckeditor5-ckfinder": "^37.1.0",
16
+ "@ckeditor/ckeditor5-code-block": "^37.1.0",
17
+ "@ckeditor/ckeditor5-heading": "^37.1.0",
18
+ "@ckeditor/ckeditor5-horizontal-line": "^37.1.0",
19
+ "@ckeditor/ckeditor5-html-embed": "^37.1.0",
20
+ "@ckeditor/ckeditor5-indent": "^37.1.0",
21
+ "@ckeditor/ckeditor5-list": "^37.1.0",
22
+ "@ckeditor/ckeditor5-table": "^37.1.0",
23
+ "@ckeditor/ckeditor5-document-outline": "^37.1.0",
24
+ "@ckeditor/ckeditor5-ui": "^37.1.0",
25
+ "ckeditor5": "^37.1.0"
26
+ },
27
+ "license": "SEE LICENSE IN LICENSE.md",
11
28
  "author": "CKSource (http://cksource.com/)",
12
- "license": "GPL-2.0-or-later",
13
29
  "homepage": "https://ckeditor.com/ckeditor-5",
14
- "bugs": "https://github.com/ckeditor/ckeditor5/issues"
30
+ "files": [
31
+ "lang",
32
+ "src/**/*.js",
33
+ "src/**/*.d.ts",
34
+ "theme",
35
+ "build",
36
+ "ckeditor5-metadata.json",
37
+ "CHANGELOG.md"
38
+ ],
39
+ "scripts": {
40
+ "build": "tsc -p ./tsconfig.json",
41
+ "postversion": "npm run build",
42
+ "dll:build": "webpack"
43
+ },
44
+ "types": "src/index.d.ts",
45
+ "obfuscated": true
15
46
  }
@@ -0,0 +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
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export{};
package/src/index.d.ts ADDED
@@ -0,0 +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';
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export{default as SlashCommand}from'./slashcommand';export{default as SlashCommandConfig}from'./slashcommandconfig';export{default as SlashCommandEditing}from'./slashcommandediting';export{default as SlashCommandUI}from'./slashcommandui';import'./augmentation';
@@ -0,0 +1,27 @@
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 { type PluginDependencies, Plugin } from 'ckeditor5/src/core';
10
+ /**
11
+ * The slash command feature.
12
+ * It allows for an easy access to a predefined list of editor commands by typing `/` inside the editor.
13
+ *
14
+ * For a detailed overview, check the {@glink features/slash-commands Slash command} feature guide.
15
+ *
16
+ * @extends module:core/plugin~Plugin
17
+ */
18
+ export default class SlashCommand extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get requires(): PluginDependencies;
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): 'SlashCommand';
27
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x1fea=['pluginName','Mention'];(function(_0x2c94d1,_0x1fea73){var _0x3f0bc6=function(_0x1a4f49){while(--_0x1a4f49){_0x2c94d1['push'](_0x2c94d1['shift']());}};_0x3f0bc6(++_0x1fea73);}(_0x1fea,0x11f));var _0x3f0b=function(_0x2c94d1,_0x1fea73){_0x2c94d1=_0x2c94d1-0x0;var _0x3f0bc6=_0x1fea[_0x2c94d1];return _0x3f0bc6;};import{Plugin as _0xb41703}from'ckeditor5/src/core';import _0x64754a from'./slashcommandediting';import _0x346032 from'./slashcommandui';export default class o extends _0xb41703{static get['requires'](){return[_0x3f0b('0x0'),_0x64754a,_0x346032];}static get[_0x3f0b('0x1')](){return'SlashCommand';}}