@ckeditor/ckeditor5-slash-command 40.0.0 → 40.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.
- package/LICENSE.md +4 -4
- package/build/slash-command.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +4 -0
- package/lang/translations/bg.po +4 -0
- package/lang/translations/bn.po +4 -0
- package/lang/translations/ca.po +4 -0
- package/lang/translations/cs.po +4 -0
- package/lang/translations/da.po +4 -0
- package/lang/translations/de.po +4 -0
- package/lang/translations/el.po +4 -0
- package/lang/translations/en-au.po +4 -0
- package/lang/translations/en.po +4 -0
- package/lang/translations/es.po +4 -0
- package/lang/translations/et.po +4 -0
- package/lang/translations/fi.po +4 -0
- package/lang/translations/fr.po +4 -0
- package/lang/translations/gl.po +4 -0
- package/lang/translations/he.po +4 -0
- package/lang/translations/hi.po +4 -0
- package/lang/translations/hr.po +4 -0
- package/lang/translations/hu.po +4 -0
- package/lang/translations/id.po +4 -0
- package/lang/translations/it.po +4 -0
- package/lang/translations/ja.po +4 -0
- package/lang/translations/ko.po +4 -0
- package/lang/translations/lt.po +4 -0
- package/lang/translations/lv.po +4 -0
- package/lang/translations/ms.po +4 -0
- package/lang/translations/nl.po +4 -0
- package/lang/translations/no.po +4 -0
- package/lang/translations/pl.po +4 -0
- package/lang/translations/pt-br.po +4 -0
- package/lang/translations/pt.po +4 -0
- package/lang/translations/ro.po +4 -0
- package/lang/translations/ru.po +4 -0
- package/lang/translations/sk.po +4 -0
- package/lang/translations/sr.po +4 -0
- package/lang/translations/sv.po +4 -0
- package/lang/translations/th.po +4 -0
- package/lang/translations/tr.po +4 -0
- package/lang/translations/uk.po +4 -0
- package/lang/translations/uz.po +4 -0
- package/lang/translations/vi.po +4 -0
- package/lang/translations/zh-cn.po +4 -0
- package/lang/translations/zh.po +4 -0
- package/package.json +14 -14
- package/src/augmentation.d.ts +21 -21
- package/src/index.d.ts +13 -13
- package/src/slashcommand.d.ts +29 -29
- package/src/slashcommand.js +1 -1
- package/src/slashcommandconfig.d.ts +242 -242
- package/src/slashcommandconfig.js +1 -1
- package/src/slashcommandediting.d.ts +41 -41
- package/src/slashcommandediting.js +1 -1
- package/src/slashcommandeditorconfig.d.ts +96 -96
- package/src/slashcommandui.d.ts +33 -33
- package/src/slashcommandui.js +1 -1
- package/src/ui/slashcommandbuttonview.d.ts +31 -31
- package/src/ui/slashcommandbuttonview.js +1 -1
package/lang/translations/ms.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Masukkan perenggan"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Cipta senarai untuk dibuat"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Buka Pembantu AI untuk mencipta kandungan"
|
package/lang/translations/nl.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Alinea invoegen"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Takenlijst aanmaken"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Open de AI Assistent om inhoud te genereren"
|
package/lang/translations/no.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Sett inn et avsnitt"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Lag en huskeliste"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Åpne AI Assistant for å generere innhold"
|
package/lang/translations/pl.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Dodaj akapit"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Utwórz listę zadań do wykonania"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Otwórz asystenta AI, aby wygenerować treść"
|
|
@@ -104,3 +104,7 @@ msgstr "Inserir parágrafo"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Criar uma lista de tarefas"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Abra o Assistente de IA para gerar conteúdo"
|
package/lang/translations/pt.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Inserir um parágrafo"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Criar uma lista de tarefas"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Abrir o Assistente de IA para gerar conteúdo"
|
package/lang/translations/ro.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Inserare paragraf"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Creare listă de sarcini"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Deschide asistentul AI pentru a genera conținut"
|
package/lang/translations/ru.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Вставить параграф"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Создать список дел"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Откройте AI Assistant для создания контента"
|
package/lang/translations/sk.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Vložiť odsek"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Vytvoriť zoznam úloh"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Ak chcete vygenerovať obsah, otvorte pomocníka AI"
|
package/lang/translations/sr.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Umetni pasus"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Kreiraj listu zaduženja"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Otvorite AI pomoćnika da generišete sadržaj"
|
package/lang/translations/sv.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Infoga ett stycke"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Skapa en att-göra-lista"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Öppna AI-assistenten för att generera innehåll"
|
package/lang/translations/th.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "แทรกย่อหน้า"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "สร้างรายการสิ่งต้องทำ"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "เปิดผู้ช่วย AI เพื่อสร้างเนื้อหา"
|
package/lang/translations/tr.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Paragraf ekle"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Yapılacaklar listesi oluştur"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "İçerik oluşturmak için YZ Asistanı aç"
|
package/lang/translations/uk.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Вставити абзац"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Створити список справ"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Відкрити ШІ-Помічника для генерування контенту"
|
package/lang/translations/uz.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Paragrafni kiritish"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Vazifalar roʻyxatini yaratish"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr ""
|
package/lang/translations/vi.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "Chèn đoạn văn"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "Tạo danh sách việc cần làm"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "Hãy mở Trợ lý AI để tạo nội dung"
|
|
@@ -104,3 +104,7 @@ msgstr "插入一个段落"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "创建一个待办事项清单"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "打开 AI 助手生成内容"
|
package/lang/translations/zh.po
CHANGED
|
@@ -104,3 +104,7 @@ msgstr "插入段落"
|
|
|
104
104
|
msgctxt "Description of the button that inserts a to-do list."
|
|
105
105
|
msgid "Create a to-do list"
|
|
106
106
|
msgstr "建立待辦清單"
|
|
107
|
+
|
|
108
|
+
msgctxt "Description of the button that opens the AI Assistant feature."
|
|
109
|
+
msgid "Open the AI Assistant to generate content"
|
|
110
|
+
msgstr "開啟 AI 助理來生成內容"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-slash-command",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.1.0",
|
|
4
4
|
"description": "Slash command feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
],
|
|
12
12
|
"main": "src/index.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ckeditor/ckeditor5-ai": "40.
|
|
15
|
-
"@ckeditor/ckeditor5-ckbox": "40.
|
|
16
|
-
"@ckeditor/ckeditor5-ckfinder": "40.
|
|
17
|
-
"@ckeditor/ckeditor5-code-block": "40.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "40.
|
|
19
|
-
"@ckeditor/ckeditor5-horizontal-line": "40.
|
|
20
|
-
"@ckeditor/ckeditor5-html-embed": "40.
|
|
21
|
-
"@ckeditor/ckeditor5-indent": "40.
|
|
22
|
-
"@ckeditor/ckeditor5-list": "40.
|
|
23
|
-
"@ckeditor/ckeditor5-table": "40.
|
|
24
|
-
"@ckeditor/ckeditor5-document-outline": "40.
|
|
25
|
-
"@ckeditor/ckeditor5-ui": "40.
|
|
26
|
-
"ckeditor5": "40.
|
|
14
|
+
"@ckeditor/ckeditor5-ai": "40.1.0",
|
|
15
|
+
"@ckeditor/ckeditor5-ckbox": "40.1.0",
|
|
16
|
+
"@ckeditor/ckeditor5-ckfinder": "40.1.0",
|
|
17
|
+
"@ckeditor/ckeditor5-code-block": "40.1.0",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "40.1.0",
|
|
19
|
+
"@ckeditor/ckeditor5-horizontal-line": "40.1.0",
|
|
20
|
+
"@ckeditor/ckeditor5-html-embed": "40.1.0",
|
|
21
|
+
"@ckeditor/ckeditor5-indent": "40.1.0",
|
|
22
|
+
"@ckeditor/ckeditor5-list": "40.1.0",
|
|
23
|
+
"@ckeditor/ckeditor5-table": "40.1.0",
|
|
24
|
+
"@ckeditor/ckeditor5-document-outline": "40.1.0",
|
|
25
|
+
"@ckeditor/ckeditor5-ui": "40.1.0",
|
|
26
|
+
"ckeditor5": "40.1.0"
|
|
27
27
|
},
|
|
28
28
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
29
29
|
"author": "CKSource (http://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -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';
|
package/src/slashcommand.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/src/slashcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4a45=['Mention','requires','pluginName','SlashCommand'];(function(_0xccfcb,_0x4a45bf){var _0x1730da=function(_0x5a383d){while(--_0x5a383d){_0xccfcb['push'](_0xccfcb['shift']());}};_0x1730da(++_0x4a45bf);}(_0x4a45,0x67));var _0x1730=function(_0xccfcb,_0x4a45bf){_0xccfcb=_0xccfcb-0x0;var _0x1730da=_0x4a45[_0xccfcb];return _0x1730da;};import{Plugin as _0x56219b}from'ckeditor5/src/core';import _0xeafe6f from'./slashcommandediting';import _0x1c07e3 from'./slashcommandui';export default class o extends _0x56219b{static get[_0x1730('0x2')](){return[_0x1730('0x1'),_0xeafe6f,_0x1c07e3];}static get[_0x1730('0x3')](){return _0x1730('0x0');}}
|