@ckeditor/ckeditor5-select-all 48.2.0 → 48.3.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.
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { SelectAll, SelectAllEditing, SelectAllUI, SelectAllCommand } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [SelectAll.pluginName]: SelectAll;
9
- [SelectAllEditing.pluginName]: SelectAllEditing;
10
- [SelectAllUI.pluginName]: SelectAllUI;
11
- }
12
- interface CommandsMap {
13
- selectAll: SelectAllCommand;
14
- }
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import type { SelectAll, SelectAllEditing, SelectAllUI, SelectAllCommand } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface PluginsMap {
8
+ [SelectAll.pluginName]: SelectAll;
9
+ [SelectAllEditing.pluginName]: SelectAllEditing;
10
+ [SelectAllUI.pluginName]: SelectAllUI;
11
+ }
12
+ interface CommandsMap {
13
+ selectAll: SelectAllCommand;
14
+ }
15
15
  }
@@ -2,3 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+
@@ -2,3 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+
package/dist/index.css CHANGED
@@ -3,5 +3,3 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
6
-
7
- /*# sourceMappingURL=index.css.map */
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module select-all
7
- */
8
- export { SelectAll } from './selectall.js';
9
- export { SelectAllEditing } from './selectallediting.js';
10
- export { SelectAllUI } from './selectallui.js';
11
- export { SelectAllCommand } from './selectallcommand.js';
12
- import './augmentation.js';
6
+ * @module select-all
7
+ */
8
+ export { SelectAll } from "./selectall.js";
9
+ export { SelectAllEditing } from "./selectallediting.js";
10
+ export { SelectAllUI } from "./selectallui.js";
11
+ export { SelectAllCommand } from "./selectallcommand.js";
12
+ import "./augmentation.js";
package/dist/index.js CHANGED
@@ -2,189 +2,219 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';
6
- import { getCode, parseKeystroke } from '@ckeditor/ckeditor5-utils/dist/index.js';
7
- import { IconSelectAll } from '@ckeditor/ckeditor5-icons/dist/index.js';
8
- import { ButtonView, MenuBarMenuListItemButtonView } from '@ckeditor/ckeditor5-ui/dist/index.js';
5
+ import { Command, Plugin } from "@ckeditor/ckeditor5-core";
6
+ import { getCode, parseKeystroke } from "@ckeditor/ckeditor5-utils";
7
+ import { IconSelectAll } from "@ckeditor/ckeditor5-icons";
8
+ import { ButtonView, MenuBarMenuListItemButtonView } from "@ckeditor/ckeditor5-ui";
9
9
 
10
10
  /**
11
- * The select all command.
12
- *
13
- * It is used by the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature} to handle
14
- * the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke.
15
- *
16
- * Executing this command changes the {@glink framework/architecture/editing-engine#model model}
17
- * selection so it contains the entire content of the editable root of the editor the selection is
18
- * {@link module:engine/model/selection~ModelSelection#anchor anchored} in.
19
- *
20
- * If the selection was anchored in a {@glink framework/tutorials/widgets/implementing-a-block-widget nested editable}
21
- * (e.g. a caption of an image), the new selection will contain its entire content. Successive executions of this command
22
- * will expand the selection to encompass more and more content up to the entire editable root of the editor.
23
- */ class SelectAllCommand extends Command {
24
- /**
25
- * @inheritDoc
26
- */ constructor(editor){
27
- super(editor);
28
- // It does not affect data so should be enabled in read-only mode.
29
- this.affectsData = false;
30
- }
31
- /**
32
- * @inheritDoc
33
- */ execute() {
34
- const model = this.editor.model;
35
- const selection = model.document.selection;
36
- let scopeElement = model.schema.getLimitElement(selection);
37
- // If an entire scope is selected, or the selection's ancestor is not a scope yet,
38
- // browse through ancestors to find the enclosing parent scope.
39
- if (selection.containsEntireContent(scopeElement) || !isSelectAllScope(model.schema, scopeElement)) {
40
- do {
41
- scopeElement = scopeElement.parent;
42
- // Do nothing, if the entire `root` is already selected.
43
- if (!scopeElement) {
44
- return;
45
- }
46
- }while (!isSelectAllScope(model.schema, scopeElement))
47
- }
48
- model.change((writer)=>{
49
- writer.setSelection(scopeElement, 'in');
50
- });
51
- }
52
- }
11
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
12
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
13
+ */
14
+ /**
15
+ * @module select-all/selectallcommand
16
+ */
53
17
  /**
54
- * Checks whether the element is a valid select-all scope. Returns true, if the element is a
55
- * {@link module:engine/model/schema~ModelSchema#isLimit limit}, and can contain any text or paragraph.
56
- *
57
- * @param schema Schema to check against.
58
- * @param element Model element.
59
- */ function isSelectAllScope(schema, element) {
60
- return schema.isLimit(element) && (schema.checkChild(element, '$text') || schema.checkChild(element, 'paragraph'));
18
+ * The select all command.
19
+ *
20
+ * It is used by the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature} to handle
21
+ * the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke.
22
+ *
23
+ * Executing this command changes the {@glink framework/architecture/editing-engine#model model}
24
+ * selection so it contains the entire content of the editable root of the editor the selection is
25
+ * {@link module:engine/model/selection~ModelSelection#anchor anchored} in.
26
+ *
27
+ * If the selection was anchored in a {@glink framework/tutorials/widgets/implementing-a-block-widget nested editable}
28
+ * (e.g. a caption of an image), the new selection will contain its entire content. Successive executions of this command
29
+ * will expand the selection to encompass more and more content up to the entire editable root of the editor.
30
+ */
31
+ var SelectAllCommand = class extends Command {
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ constructor(editor) {
36
+ super(editor);
37
+ this.affectsData = false;
38
+ }
39
+ /**
40
+ * @inheritDoc
41
+ */
42
+ execute() {
43
+ const model = this.editor.model;
44
+ const selection = model.document.selection;
45
+ let scopeElement = model.schema.getLimitElement(selection);
46
+ if (selection.containsEntireContent(scopeElement) || !isSelectAllScope(model.schema, scopeElement)) do {
47
+ scopeElement = scopeElement.parent;
48
+ if (!scopeElement) return;
49
+ } while (!isSelectAllScope(model.schema, scopeElement));
50
+ model.change((writer) => {
51
+ writer.setSelection(scopeElement, "in");
52
+ });
53
+ }
54
+ };
55
+ /**
56
+ * Checks whether the element is a valid select-all scope. Returns true, if the element is a
57
+ * {@link module:engine/model/schema~ModelSchema#isLimit limit}, and can contain any text or paragraph.
58
+ *
59
+ * @param schema Schema to check against.
60
+ * @param element Model element.
61
+ */
62
+ function isSelectAllScope(schema, element) {
63
+ return schema.isLimit(element) && (schema.checkChild(element, "$text") || schema.checkChild(element, "paragraph"));
61
64
  }
62
65
 
63
- const SELECT_ALL_KEYSTROKE = /* #__PURE__ */ parseKeystroke('Ctrl+A');
64
66
  /**
65
- * The select all editing feature.
66
- *
67
- * It registers the `'selectAll'` {@link module:select-all/selectallcommand~SelectAllCommand command}
68
- * and the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke listener which executes it.
69
- */ class SelectAllEditing extends Plugin {
70
- /**
71
- * @inheritDoc
72
- */ static get pluginName() {
73
- return 'SelectAllEditing';
74
- }
75
- /**
76
- * @inheritDoc
77
- */ static get isOfficialPlugin() {
78
- return true;
79
- }
80
- /**
81
- * @inheritDoc
82
- */ init() {
83
- const editor = this.editor;
84
- const t = editor.t;
85
- const view = editor.editing.view;
86
- const viewDocument = view.document;
87
- editor.commands.add('selectAll', new SelectAllCommand(editor));
88
- this.listenTo(viewDocument, 'keydown', (eventInfo, domEventData)=>{
89
- if (getCode(domEventData) === SELECT_ALL_KEYSTROKE) {
90
- editor.execute('selectAll');
91
- domEventData.preventDefault();
92
- }
93
- });
94
- // Add the information about the keystroke to the accessibility database.
95
- editor.accessibility.addKeystrokeInfos({
96
- keystrokes: [
97
- {
98
- label: t('Select all'),
99
- keystroke: 'CTRL+A'
100
- }
101
- ]
102
- });
103
- }
104
- }
67
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
68
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
69
+ */
70
+ /**
71
+ * @module select-all/selectallediting
72
+ */
73
+ const SELECT_ALL_KEYSTROKE = /* #__PURE__ */ parseKeystroke("Ctrl+A");
74
+ /**
75
+ * The select all editing feature.
76
+ *
77
+ * It registers the `'selectAll'` {@link module:select-all/selectallcommand~SelectAllCommand command}
78
+ * and the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke listener which executes it.
79
+ */
80
+ var SelectAllEditing = class extends Plugin {
81
+ /**
82
+ * @inheritDoc
83
+ */
84
+ static get pluginName() {
85
+ return "SelectAllEditing";
86
+ }
87
+ /**
88
+ * @inheritDoc
89
+ */
90
+ static get isOfficialPlugin() {
91
+ return true;
92
+ }
93
+ /**
94
+ * @inheritDoc
95
+ */
96
+ init() {
97
+ const editor = this.editor;
98
+ const t = editor.t;
99
+ const viewDocument = editor.editing.view.document;
100
+ editor.commands.add("selectAll", new SelectAllCommand(editor));
101
+ this.listenTo(viewDocument, "keydown", (eventInfo, domEventData) => {
102
+ if (getCode(domEventData) === SELECT_ALL_KEYSTROKE) {
103
+ editor.execute("selectAll");
104
+ domEventData.preventDefault();
105
+ }
106
+ });
107
+ editor.accessibility.addKeystrokeInfos({ keystrokes: [{
108
+ label: t("Select all"),
109
+ keystroke: "CTRL+A"
110
+ }] });
111
+ }
112
+ };
105
113
 
106
114
  /**
107
- * The select all UI feature.
108
- *
109
- * It registers the `'selectAll'` UI button in the editor's
110
- * {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button
111
- * executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}.
112
- */ class SelectAllUI extends Plugin {
113
- /**
114
- * @inheritDoc
115
- */ static get pluginName() {
116
- return 'SelectAllUI';
117
- }
118
- /**
119
- * @inheritDoc
120
- */ static get isOfficialPlugin() {
121
- return true;
122
- }
123
- /**
124
- * @inheritDoc
125
- */ init() {
126
- const editor = this.editor;
127
- editor.ui.componentFactory.add('selectAll', ()=>{
128
- const buttonView = this._createButton(ButtonView);
129
- buttonView.set({
130
- tooltip: true
131
- });
132
- return buttonView;
133
- });
134
- editor.ui.componentFactory.add('menuBar:selectAll', ()=>{
135
- return this._createButton(MenuBarMenuListItemButtonView);
136
- });
137
- }
138
- /**
139
- * Creates a button for select all command to use either in toolbar or in menu bar.
140
- */ _createButton(ButtonClass) {
141
- const editor = this.editor;
142
- const locale = editor.locale;
143
- const command = editor.commands.get('selectAll');
144
- const view = new ButtonClass(editor.locale);
145
- const t = locale.t;
146
- view.set({
147
- label: t('Select all'),
148
- icon: IconSelectAll,
149
- keystroke: 'Ctrl+A'
150
- });
151
- view.bind('isEnabled').to(command, 'isEnabled');
152
- // Execute the command.
153
- this.listenTo(view, 'execute', ()=>{
154
- editor.execute('selectAll');
155
- editor.editing.view.focus();
156
- });
157
- return view;
158
- }
159
- }
115
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
116
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
117
+ */
118
+ /**
119
+ * @module select-all/selectallui
120
+ */
121
+ /**
122
+ * The select all UI feature.
123
+ *
124
+ * It registers the `'selectAll'` UI button in the editor's
125
+ * {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button
126
+ * executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}.
127
+ */
128
+ var SelectAllUI = class extends Plugin {
129
+ /**
130
+ * @inheritDoc
131
+ */
132
+ static get pluginName() {
133
+ return "SelectAllUI";
134
+ }
135
+ /**
136
+ * @inheritDoc
137
+ */
138
+ static get isOfficialPlugin() {
139
+ return true;
140
+ }
141
+ /**
142
+ * @inheritDoc
143
+ */
144
+ init() {
145
+ const editor = this.editor;
146
+ editor.ui.componentFactory.add("selectAll", () => {
147
+ const buttonView = this._createButton(ButtonView);
148
+ buttonView.set({ tooltip: true });
149
+ return buttonView;
150
+ });
151
+ editor.ui.componentFactory.add("menuBar:selectAll", () => {
152
+ return this._createButton(MenuBarMenuListItemButtonView);
153
+ });
154
+ }
155
+ /**
156
+ * Creates a button for select all command to use either in toolbar or in menu bar.
157
+ */
158
+ _createButton(ButtonClass) {
159
+ const editor = this.editor;
160
+ const locale = editor.locale;
161
+ const command = editor.commands.get("selectAll");
162
+ const view = new ButtonClass(editor.locale);
163
+ const t = locale.t;
164
+ view.set({
165
+ label: t("Select all"),
166
+ icon: IconSelectAll,
167
+ keystroke: "Ctrl+A"
168
+ });
169
+ view.bind("isEnabled").to(command, "isEnabled");
170
+ this.listenTo(view, "execute", () => {
171
+ editor.execute("selectAll");
172
+ editor.editing.view.focus();
173
+ });
174
+ return view;
175
+ }
176
+ };
160
177
 
161
178
  /**
162
- * The select all feature.
163
- *
164
- * This is a "glue" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}
165
- * and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.
166
- *
167
- * Please refer to the documentation of individual features to learn more.
168
- */ class SelectAll extends Plugin {
169
- /**
170
- * @inheritDoc
171
- */ static get requires() {
172
- return [
173
- SelectAllEditing,
174
- SelectAllUI
175
- ];
176
- }
177
- /**
178
- * @inheritDoc
179
- */ static get pluginName() {
180
- return 'SelectAll';
181
- }
182
- /**
183
- * @inheritDoc
184
- */ static get isOfficialPlugin() {
185
- return true;
186
- }
187
- }
179
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
180
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
181
+ */
182
+ /**
183
+ * @module select-all/selectall
184
+ */
185
+ /**
186
+ * The select all feature.
187
+ *
188
+ * This is a "glue" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}
189
+ * and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.
190
+ *
191
+ * Please refer to the documentation of individual features to learn more.
192
+ */
193
+ var SelectAll = class extends Plugin {
194
+ /**
195
+ * @inheritDoc
196
+ */
197
+ static get requires() {
198
+ return [SelectAllEditing, SelectAllUI];
199
+ }
200
+ /**
201
+ * @inheritDoc
202
+ */
203
+ static get pluginName() {
204
+ return "SelectAll";
205
+ }
206
+ /**
207
+ * @inheritDoc
208
+ */
209
+ static get isOfficialPlugin() {
210
+ return true;
211
+ }
212
+ };
213
+
214
+ /**
215
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
216
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
217
+ */
188
218
 
189
219
  export { SelectAll, SelectAllCommand, SelectAllEditing, SelectAllUI };
190
- //# sourceMappingURL=index.js.map
220
+ //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js","../src/selectallcommand.ts","../src/selectallediting.ts","../src/selectallui.ts","../src/selectall.ts"],"names":["SelectAllCommand","Command","editor","affectsData","execute","model","selection","document","scopeElement","schema","getLimitElement","containsEntireContent","isSelectAllScope","parent","change","writer","setSelection","element","isLimit","checkChild","SELECT_ALL_KEYSTROKE","parseKeystroke","SelectAllEditing","Plugin","pluginName","isOfficialPlugin","init","t","view","editing","viewDocument","commands","add","listenTo","eventInfo","domEventData","getCode","preventDefault","accessibility","addKeystrokeInfos","keystrokes","label","keystroke","SelectAllUI","ui","componentFactory","buttonView","_createButton","ButtonView","set","tooltip","MenuBarMenuListItemButtonView","ButtonClass","locale","command","get","icon","IconSelectAll","bind","to","focus","SelectAll","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;AACxE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AACjF,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AACvE,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;;ACShG,CAAA,CAAA;ADNA,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO;AACzB,CAAC;AACD,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI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A,CAAA,CAAA;AJ8ID,CAAC,CAAC,CAAC,CAAC,CAAC;AI5IH,CAAA,CAAA,CAAA,CAAA,CACD,MAAA,CAAA,GAAA,CAA2BC,gBAAAA,CAAAA,CAAAA,CAAyB;AJ6IrD,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CI5IL,MAAA,CAAO,IAAA;AACR,CAAA,CAAA,CAAA,CAAA;AACD;;AJ8IA,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,gBAAgB,CAAC,CAAC,WAAW,CAAC,CAAC;AACrE,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC","file":"index.js.map","sourcesContent":["import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';\nimport { getCode, parseKeystroke } from '@ckeditor/ckeditor5-utils/dist/index.js';\nimport { IconSelectAll } from '@ckeditor/ckeditor5-icons/dist/index.js';\nimport { ButtonView, MenuBarMenuListItemButtonView } from '@ckeditor/ckeditor5-ui/dist/index.js';\n\n/**\n * The select all command.\n *\n * It is used by the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature} to handle\n * the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke.\n *\n * Executing this command changes the {@glink framework/architecture/editing-engine#model model}\n * selection so it contains the entire content of the editable root of the editor the selection is\n * {@link module:engine/model/selection~ModelSelection#anchor anchored} in.\n *\n * If the selection was anchored in a {@glink framework/tutorials/widgets/implementing-a-block-widget nested editable}\n * (e.g. a caption of an image), the new selection will contain its entire content. Successive executions of this command\n * will expand the selection to encompass more and more content up to the entire editable root of the editor.\n */ class SelectAllCommand extends Command {\n /**\n\t * @inheritDoc\n\t */ constructor(editor){\n super(editor);\n // It does not affect data so should be enabled in read-only mode.\n this.affectsData = false;\n }\n /**\n\t * @inheritDoc\n\t */ execute() {\n const model = this.editor.model;\n const selection = model.document.selection;\n let scopeElement = model.schema.getLimitElement(selection);\n // If an entire scope is selected, or the selection's ancestor is not a scope yet,\n // browse through ancestors to find the enclosing parent scope.\n if (selection.containsEntireContent(scopeElement) || !isSelectAllScope(model.schema, scopeElement)) {\n do {\n scopeElement = scopeElement.parent;\n // Do nothing, if the entire `root` is already selected.\n if (!scopeElement) {\n return;\n }\n }while (!isSelectAllScope(model.schema, scopeElement))\n }\n model.change((writer)=>{\n writer.setSelection(scopeElement, 'in');\n });\n }\n}\n/**\n * Checks whether the element is a valid select-all scope. Returns true, if the element is a\n * {@link module:engine/model/schema~ModelSchema#isLimit limit}, and can contain any text or paragraph.\n *\n * @param schema Schema to check against.\n * @param element Model element.\n */ function isSelectAllScope(schema, element) {\n return schema.isLimit(element) && (schema.checkChild(element, '$text') || schema.checkChild(element, 'paragraph'));\n}\n\nconst SELECT_ALL_KEYSTROKE = /* #__PURE__ */ parseKeystroke('Ctrl+A');\n/**\n * The select all editing feature.\n *\n * It registers the `'selectAll'` {@link module:select-all/selectallcommand~SelectAllCommand command}\n * and the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke listener which executes it.\n */ class SelectAllEditing extends Plugin {\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'SelectAllEditing';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n /**\n\t * @inheritDoc\n\t */ init() {\n const editor = this.editor;\n const t = editor.t;\n const view = editor.editing.view;\n const viewDocument = view.document;\n editor.commands.add('selectAll', new SelectAllCommand(editor));\n this.listenTo(viewDocument, 'keydown', (eventInfo, domEventData)=>{\n if (getCode(domEventData) === SELECT_ALL_KEYSTROKE) {\n editor.execute('selectAll');\n domEventData.preventDefault();\n }\n });\n // Add the information about the keystroke to the accessibility database.\n editor.accessibility.addKeystrokeInfos({\n keystrokes: [\n {\n label: t('Select all'),\n keystroke: 'CTRL+A'\n }\n ]\n });\n }\n}\n\n/**\n * The select all UI feature.\n *\n * It registers the `'selectAll'` UI button in the editor's\n * {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button\n * executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}.\n */ class SelectAllUI extends Plugin {\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'SelectAllUI';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n /**\n\t * @inheritDoc\n\t */ init() {\n const editor = this.editor;\n editor.ui.componentFactory.add('selectAll', ()=>{\n const buttonView = this._createButton(ButtonView);\n buttonView.set({\n tooltip: true\n });\n return buttonView;\n });\n editor.ui.componentFactory.add('menuBar:selectAll', ()=>{\n return this._createButton(MenuBarMenuListItemButtonView);\n });\n }\n /**\n\t * Creates a button for select all command to use either in toolbar or in menu bar.\n\t */ _createButton(ButtonClass) {\n const editor = this.editor;\n const locale = editor.locale;\n const command = editor.commands.get('selectAll');\n const view = new ButtonClass(editor.locale);\n const t = locale.t;\n view.set({\n label: t('Select all'),\n icon: IconSelectAll,\n keystroke: 'Ctrl+A'\n });\n view.bind('isEnabled').to(command, 'isEnabled');\n // Execute the command.\n this.listenTo(view, 'execute', ()=>{\n editor.execute('selectAll');\n editor.editing.view.focus();\n });\n return view;\n }\n}\n\n/**\n * The select all feature.\n *\n * This is a \"glue\" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}\n * and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.\n *\n * Please refer to the documentation of individual features to learn more.\n */ class SelectAll extends Plugin {\n /**\n\t * @inheritDoc\n\t */ static get requires() {\n return [\n SelectAllEditing,\n SelectAllUI\n ];\n }\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'SelectAll';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n}\n\nexport { SelectAll, SelectAllCommand, SelectAllEditing, SelectAllUI };\n//# sourceMappingURL=index.js.map\n","/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module select-all/selectallcommand\n */\n\nimport { Command, type Editor } from '@ckeditor/ckeditor5-core';\nimport type { ModelElement, ModelSchema } from '@ckeditor/ckeditor5-engine';\n\n/**\n * The select all command.\n *\n * It is used by the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature} to handle\n * the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke.\n *\n * Executing this command changes the {@glink framework/architecture/editing-engine#model model}\n * selection so it contains the entire content of the editable root of the editor the selection is\n * {@link module:engine/model/selection~ModelSelection#anchor anchored} in.\n *\n * If the selection was anchored in a {@glink framework/tutorials/widgets/implementing-a-block-widget nested editable}\n * (e.g. a caption of an image), the new selection will contain its entire content. Successive executions of this command\n * will expand the selection to encompass more and more content up to the entire editable root of the editor.\n */\nexport class SelectAllCommand extends Command {\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\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic override execute(): void {\n\t\tconst model = this.editor.model;\n\t\tconst selection = model.document.selection;\n\t\tlet scopeElement: ModelElement | null = model.schema.getLimitElement( selection );\n\n\t\t// If an entire scope is selected, or the selection's ancestor is not a scope yet,\n\t\t// browse through ancestors to find the enclosing parent scope.\n\t\tif ( selection.containsEntireContent( scopeElement ) || !isSelectAllScope( model.schema, scopeElement ) ) {\n\t\t\tdo {\n\t\t\t\tscopeElement = scopeElement.parent as ModelElement | null;\n\n\t\t\t\t// Do nothing, if the entire `root` is already selected.\n\t\t\t\tif ( !scopeElement ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} while ( !isSelectAllScope( model.schema, scopeElement ) );\n\t\t}\n\n\t\tmodel.change( writer => {\n\t\t\twriter.setSelection( scopeElement!, 'in' );\n\t\t} );\n\t}\n}\n\n/**\n * Checks whether the element is a valid select-all scope. Returns true, if the element is a\n * {@link module:engine/model/schema~ModelSchema#isLimit limit}, and can contain any text or paragraph.\n *\n * @param schema Schema to check against.\n * @param element Model element.\n */\nfunction isSelectAllScope( schema: ModelSchema, element: ModelElement ): boolean {\n\treturn schema.isLimit( element ) && ( schema.checkChild( element, '$text' ) || schema.checkChild( element, 'paragraph' ) );\n}\n","/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module select-all/selectallediting\n */\n\nimport { Plugin } from '@ckeditor/ckeditor5-core';\nimport { getCode, parseKeystroke } from '@ckeditor/ckeditor5-utils';\nimport { SelectAllCommand } from './selectallcommand.js';\nimport type { ViewDocumentKeyDownEvent } from '@ckeditor/ckeditor5-engine';\n\nconst SELECT_ALL_KEYSTROKE = /* #__PURE__ */ parseKeystroke( 'Ctrl+A' );\n\n/**\n * The select all editing feature.\n *\n * It registers the `'selectAll'` {@link module:select-all/selectallcommand~SelectAllCommand command}\n * and the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke listener which executes it.\n */\nexport class SelectAllEditing extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'SelectAllEditing' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst view = editor.editing.view;\n\t\tconst viewDocument = view.document;\n\n\t\teditor.commands.add( 'selectAll', new SelectAllCommand( editor ) );\n\n\t\tthis.listenTo<ViewDocumentKeyDownEvent>( viewDocument, 'keydown', ( eventInfo, domEventData ) => {\n\t\t\tif ( getCode( domEventData ) === SELECT_ALL_KEYSTROKE ) {\n\t\t\t\teditor.execute( 'selectAll' );\n\t\t\t\tdomEventData.preventDefault();\n\t\t\t}\n\t\t} );\n\n\t\t// Add the information about the keystroke to the accessibility database.\n\t\teditor.accessibility.addKeystrokeInfos( {\n\t\t\tkeystrokes: [\n\t\t\t\t{\n\t\t\t\t\tlabel: t( 'Select all' ),\n\t\t\t\t\tkeystroke: 'CTRL+A'\n\t\t\t\t}\n\t\t\t]\n\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module select-all/selectallui\n */\n\nimport { Plugin } from '@ckeditor/ckeditor5-core';\nimport { IconSelectAll } from '@ckeditor/ckeditor5-icons';\nimport { ButtonView, MenuBarMenuListItemButtonView } from '@ckeditor/ckeditor5-ui';\n\n/**\n * The select all UI feature.\n *\n * It registers the `'selectAll'` UI button in the editor's\n * {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button\n * executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}.\n */\nexport class SelectAllUI extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'SelectAllUI' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\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( 'selectAll', () => {\n\t\t\tconst buttonView = this._createButton( ButtonView );\n\n\t\t\tbuttonView.set( {\n\t\t\t\ttooltip: true\n\t\t\t} );\n\n\t\t\treturn buttonView;\n\t\t} );\n\n\t\teditor.ui.componentFactory.add( 'menuBar:selectAll', () => {\n\t\t\treturn this._createButton( MenuBarMenuListItemButtonView );\n\t\t} );\n\t}\n\n\t/**\n\t * Creates a button for select all 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( 'selectAll' )!;\n\t\tconst view = new ButtonClass( editor.locale ) as InstanceType<T>;\n\t\tconst t = locale.t;\n\n\t\tview.set( {\n\t\t\tlabel: t( 'Select all' ),\n\t\t\ticon: IconSelectAll,\n\t\t\tkeystroke: 'Ctrl+A'\n\t\t} );\n\n\t\tview.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\n\t\t// Execute the command.\n\t\tthis.listenTo( view, 'execute', () => {\n\t\t\teditor.execute( 'selectAll' );\n\t\t\teditor.editing.view.focus();\n\t\t} );\n\n\t\treturn view;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module select-all/selectall\n */\n\nimport { Plugin } from '@ckeditor/ckeditor5-core';\nimport { SelectAllEditing } from './selectallediting.js';\nimport { SelectAllUI } from './selectallui.js';\n\n/**\n * The select all feature.\n *\n * This is a \"glue\" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}\n * and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.\n *\n * Please refer to the documentation of individual features to learn more.\n */\nexport class SelectAll extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ SelectAllEditing, SelectAllUI ] as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'SelectAll' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n}\n"]}
1
+ {"version":3,"sources":["index.js","../src/selectallcommand.ts","../src/selectallediting.ts","../src/selectallui.ts","../src/selectall.ts"],"names":[],"mappings":";;;;AAAA,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC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AA,CAAkB,WAAY,CAAA;AJwKzC,CIvKC;AJwKD,CAAC,CAAC,CAAC;AACH,CAAC,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,CItKC,MAAA,CAAA,GAAA,CAAkB,UAAA,CAAA,CAAA,CAAa;AJuKhC,CAAC,CItKC,MAAA,CAAO,CAAA,SAAA,CAAA;AJuKT,CItKC;AJuKD,CAAC,CAAC,CAAC;AACH,CAAC,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,CIrKC,MAAA,CAAA,GAAA,CAA2B,gBAAA,CAAA,CAAA,CAAyB;AJsKrD,CAAC,CIrKC,MAAA,CAAO,IAAA;AJsKT,CIrKC;AACD,CAAA;;AJuKA,CAAC,CAAC;AACF,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AACnF,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AACjF,CAAC;;AAED,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,gBAAgB,CAAC,CAAC,WAAW,CAAC,CAAC;AACrE,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC","file":"index.js.map","sourcesContent":["import { Command, Plugin } from \"@ckeditor/ckeditor5-core\";\nimport { getCode, parseKeystroke } from \"@ckeditor/ckeditor5-utils\";\nimport { IconSelectAll } from \"@ckeditor/ckeditor5-icons\";\nimport { ButtonView, MenuBarMenuListItemButtonView } from \"@ckeditor/ckeditor5-ui\";\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module select-all/selectallcommand\n*/\n/**\n* The select all command.\n*\n* It is used by the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature} to handle\n* the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke.\n*\n* Executing this command changes the {@glink framework/architecture/editing-engine#model model}\n* selection so it contains the entire content of the editable root of the editor the selection is\n* {@link module:engine/model/selection~ModelSelection#anchor anchored} in.\n*\n* If the selection was anchored in a {@glink framework/tutorials/widgets/implementing-a-block-widget nested editable}\n* (e.g. a caption of an image), the new selection will contain its entire content. Successive executions of this command\n* will expand the selection to encompass more and more content up to the entire editable root of the editor.\n*/\nvar SelectAllCommand = class extends Command {\n\t/**\n\t* @inheritDoc\n\t*/\n\tconstructor(editor) {\n\t\tsuper(editor);\n\t\tthis.affectsData = false;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\texecute() {\n\t\tconst model = this.editor.model;\n\t\tconst selection = model.document.selection;\n\t\tlet scopeElement = model.schema.getLimitElement(selection);\n\t\tif (selection.containsEntireContent(scopeElement) || !isSelectAllScope(model.schema, scopeElement)) do {\n\t\t\tscopeElement = scopeElement.parent;\n\t\t\tif (!scopeElement) return;\n\t\t} while (!isSelectAllScope(model.schema, scopeElement));\n\t\tmodel.change((writer) => {\n\t\t\twriter.setSelection(scopeElement, \"in\");\n\t\t});\n\t}\n};\n/**\n* Checks whether the element is a valid select-all scope. Returns true, if the element is a\n* {@link module:engine/model/schema~ModelSchema#isLimit limit}, and can contain any text or paragraph.\n*\n* @param schema Schema to check against.\n* @param element Model element.\n*/\nfunction isSelectAllScope(schema, element) {\n\treturn schema.isLimit(element) && (schema.checkChild(element, \"$text\") || schema.checkChild(element, \"paragraph\"));\n}\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module select-all/selectallediting\n*/\nconst SELECT_ALL_KEYSTROKE = /* #__PURE__ */ parseKeystroke(\"Ctrl+A\");\n/**\n* The select all editing feature.\n*\n* It registers the `'selectAll'` {@link module:select-all/selectallcommand~SelectAllCommand command}\n* and the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke listener which executes it.\n*/\nvar SelectAllEditing = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"SelectAllEditing\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst viewDocument = editor.editing.view.document;\n\t\teditor.commands.add(\"selectAll\", new SelectAllCommand(editor));\n\t\tthis.listenTo(viewDocument, \"keydown\", (eventInfo, domEventData) => {\n\t\t\tif (getCode(domEventData) === SELECT_ALL_KEYSTROKE) {\n\t\t\t\teditor.execute(\"selectAll\");\n\t\t\t\tdomEventData.preventDefault();\n\t\t\t}\n\t\t});\n\t\teditor.accessibility.addKeystrokeInfos({ keystrokes: [{\n\t\t\tlabel: t(\"Select all\"),\n\t\t\tkeystroke: \"CTRL+A\"\n\t\t}] });\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module select-all/selectallui\n*/\n/**\n* The select all UI feature.\n*\n* It registers the `'selectAll'` UI button in the editor's\n* {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button\n* executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}.\n*/\nvar SelectAllUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"SelectAllUI\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\teditor.ui.componentFactory.add(\"selectAll\", () => {\n\t\t\tconst buttonView = this._createButton(ButtonView);\n\t\t\tbuttonView.set({ tooltip: true });\n\t\t\treturn buttonView;\n\t\t});\n\t\teditor.ui.componentFactory.add(\"menuBar:selectAll\", () => {\n\t\t\treturn this._createButton(MenuBarMenuListItemButtonView);\n\t\t});\n\t}\n\t/**\n\t* Creates a button for select all command to use either in toolbar or in menu bar.\n\t*/\n\t_createButton(ButtonClass) {\n\t\tconst editor = this.editor;\n\t\tconst locale = editor.locale;\n\t\tconst command = editor.commands.get(\"selectAll\");\n\t\tconst view = new ButtonClass(editor.locale);\n\t\tconst t = locale.t;\n\t\tview.set({\n\t\t\tlabel: t(\"Select all\"),\n\t\t\ticon: IconSelectAll,\n\t\t\tkeystroke: \"Ctrl+A\"\n\t\t});\n\t\tview.bind(\"isEnabled\").to(command, \"isEnabled\");\n\t\tthis.listenTo(view, \"execute\", () => {\n\t\t\teditor.execute(\"selectAll\");\n\t\t\teditor.editing.view.focus();\n\t\t});\n\t\treturn view;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module select-all/selectall\n*/\n/**\n* The select all feature.\n*\n* This is a \"glue\" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}\n* and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.\n*\n* Please refer to the documentation of individual features to learn more.\n*/\nvar SelectAll = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [SelectAllEditing, SelectAllUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"SelectAll\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n\nexport { SelectAll, SelectAllCommand, SelectAllEditing, SelectAllUI };\n//# sourceMappingURL=index.js.map","/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module select-all/selectallcommand\n */\n\nimport { Command, type Editor } from '@ckeditor/ckeditor5-core';\nimport type { ModelElement, ModelSchema } from '@ckeditor/ckeditor5-engine';\n\n/**\n * The select all command.\n *\n * It is used by the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature} to handle\n * the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke.\n *\n * Executing this command changes the {@glink framework/architecture/editing-engine#model model}\n * selection so it contains the entire content of the editable root of the editor the selection is\n * {@link module:engine/model/selection~ModelSelection#anchor anchored} in.\n *\n * If the selection was anchored in a {@glink framework/tutorials/widgets/implementing-a-block-widget nested editable}\n * (e.g. a caption of an image), the new selection will contain its entire content. Successive executions of this command\n * will expand the selection to encompass more and more content up to the entire editable root of the editor.\n */\nexport class SelectAllCommand extends Command {\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\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic override execute(): void {\n\t\tconst model = this.editor.model;\n\t\tconst selection = model.document.selection;\n\t\tlet scopeElement: ModelElement | null = model.schema.getLimitElement( selection );\n\n\t\t// If an entire scope is selected, or the selection's ancestor is not a scope yet,\n\t\t// browse through ancestors to find the enclosing parent scope.\n\t\tif ( selection.containsEntireContent( scopeElement ) || !isSelectAllScope( model.schema, scopeElement ) ) {\n\t\t\tdo {\n\t\t\t\tscopeElement = scopeElement.parent as ModelElement | null;\n\n\t\t\t\t// Do nothing, if the entire `root` is already selected.\n\t\t\t\tif ( !scopeElement ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} while ( !isSelectAllScope( model.schema, scopeElement ) );\n\t\t}\n\n\t\tmodel.change( writer => {\n\t\t\twriter.setSelection( scopeElement!, 'in' );\n\t\t} );\n\t}\n}\n\n/**\n * Checks whether the element is a valid select-all scope. Returns true, if the element is a\n * {@link module:engine/model/schema~ModelSchema#isLimit limit}, and can contain any text or paragraph.\n *\n * @param schema Schema to check against.\n * @param element Model element.\n */\nfunction isSelectAllScope( schema: ModelSchema, element: ModelElement ): boolean {\n\treturn schema.isLimit( element ) && ( schema.checkChild( element, '$text' ) || schema.checkChild( element, 'paragraph' ) );\n}\n","/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module select-all/selectallediting\n */\n\nimport { Plugin } from '@ckeditor/ckeditor5-core';\nimport { getCode, parseKeystroke } from '@ckeditor/ckeditor5-utils';\nimport { SelectAllCommand } from './selectallcommand.js';\nimport type { ViewDocumentKeyDownEvent } from '@ckeditor/ckeditor5-engine';\n\nconst SELECT_ALL_KEYSTROKE = /* #__PURE__ */ parseKeystroke( 'Ctrl+A' );\n\n/**\n * The select all editing feature.\n *\n * It registers the `'selectAll'` {@link module:select-all/selectallcommand~SelectAllCommand command}\n * and the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke listener which executes it.\n */\nexport class SelectAllEditing extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'SelectAllEditing' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst view = editor.editing.view;\n\t\tconst viewDocument = view.document;\n\n\t\teditor.commands.add( 'selectAll', new SelectAllCommand( editor ) );\n\n\t\tthis.listenTo<ViewDocumentKeyDownEvent>( viewDocument, 'keydown', ( eventInfo, domEventData ) => {\n\t\t\tif ( getCode( domEventData ) === SELECT_ALL_KEYSTROKE ) {\n\t\t\t\teditor.execute( 'selectAll' );\n\t\t\t\tdomEventData.preventDefault();\n\t\t\t}\n\t\t} );\n\n\t\t// Add the information about the keystroke to the accessibility database.\n\t\teditor.accessibility.addKeystrokeInfos( {\n\t\t\tkeystrokes: [\n\t\t\t\t{\n\t\t\t\t\tlabel: t( 'Select all' ),\n\t\t\t\t\tkeystroke: 'CTRL+A'\n\t\t\t\t}\n\t\t\t]\n\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module select-all/selectallui\n */\n\nimport { Plugin } from '@ckeditor/ckeditor5-core';\nimport { IconSelectAll } from '@ckeditor/ckeditor5-icons';\nimport { ButtonView, MenuBarMenuListItemButtonView } from '@ckeditor/ckeditor5-ui';\n\n/**\n * The select all UI feature.\n *\n * It registers the `'selectAll'` UI button in the editor's\n * {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button\n * executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}.\n */\nexport class SelectAllUI extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'SelectAllUI' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\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( 'selectAll', () => {\n\t\t\tconst buttonView = this._createButton( ButtonView );\n\n\t\t\tbuttonView.set( {\n\t\t\t\ttooltip: true\n\t\t\t} );\n\n\t\t\treturn buttonView;\n\t\t} );\n\n\t\teditor.ui.componentFactory.add( 'menuBar:selectAll', () => {\n\t\t\treturn this._createButton( MenuBarMenuListItemButtonView );\n\t\t} );\n\t}\n\n\t/**\n\t * Creates a button for select all 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( 'selectAll' )!;\n\t\tconst view = new ButtonClass( editor.locale ) as InstanceType<T>;\n\t\tconst t = locale.t;\n\n\t\tview.set( {\n\t\t\tlabel: t( 'Select all' ),\n\t\t\ticon: IconSelectAll,\n\t\t\tkeystroke: 'Ctrl+A'\n\t\t} );\n\n\t\tview.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\n\t\t// Execute the command.\n\t\tthis.listenTo( view, 'execute', () => {\n\t\t\teditor.execute( 'selectAll' );\n\t\t\teditor.editing.view.focus();\n\t\t} );\n\n\t\treturn view;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module select-all/selectall\n */\n\nimport { Plugin, type PluginDependenciesOf } from '@ckeditor/ckeditor5-core';\nimport { SelectAllEditing } from './selectallediting.js';\nimport { SelectAllUI } from './selectallui.js';\n\n/**\n * The select all feature.\n *\n * This is a \"glue\" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}\n * and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.\n *\n * Please refer to the documentation of individual features to learn more.\n */\nexport class SelectAll extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires(): PluginDependenciesOf<[ SelectAllEditing, SelectAllUI ]> {\n\t\treturn [ SelectAllEditing, SelectAllUI ];\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'SelectAll' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n}\n"]}
@@ -1,32 +1,32 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module select-all/selectall
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { SelectAllEditing } from './selectallediting.js';
10
- import { SelectAllUI } from './selectallui.js';
6
+ * @module select-all/selectall
7
+ */
8
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { SelectAllEditing } from "./selectallediting.js";
10
+ import { SelectAllUI } from "./selectallui.js";
11
11
  /**
12
- * The select all feature.
13
- *
14
- * This is a "glue" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}
15
- * and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.
16
- *
17
- * Please refer to the documentation of individual features to learn more.
18
- */
12
+ * The select all feature.
13
+ *
14
+ * This is a "glue" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}
15
+ * and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.
16
+ *
17
+ * Please refer to the documentation of individual features to learn more.
18
+ */
19
19
  export declare class SelectAll extends Plugin {
20
- /**
21
- * @inheritDoc
22
- */
23
- static get requires(): readonly [typeof SelectAllEditing, typeof SelectAllUI];
24
- /**
25
- * @inheritDoc
26
- */
27
- static get pluginName(): "SelectAll";
28
- /**
29
- * @inheritDoc
30
- */
31
- static get isOfficialPlugin(): true;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): PluginDependenciesOf<[SelectAllEditing, SelectAllUI]>;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get pluginName(): "SelectAll";
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static override get isOfficialPlugin(): true;
32
32
  }
@@ -1,32 +1,32 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module select-all/selectallcommand
7
- */
8
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
6
+ * @module select-all/selectallcommand
7
+ */
8
+ import { Command, type Editor } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The select all command.
11
- *
12
- * It is used by the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature} to handle
13
- * the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke.
14
- *
15
- * Executing this command changes the {@glink framework/architecture/editing-engine#model model}
16
- * selection so it contains the entire content of the editable root of the editor the selection is
17
- * {@link module:engine/model/selection~ModelSelection#anchor anchored} in.
18
- *
19
- * If the selection was anchored in a {@glink framework/tutorials/widgets/implementing-a-block-widget nested editable}
20
- * (e.g. a caption of an image), the new selection will contain its entire content. Successive executions of this command
21
- * will expand the selection to encompass more and more content up to the entire editable root of the editor.
22
- */
10
+ * The select all command.
11
+ *
12
+ * It is used by the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature} to handle
13
+ * the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke.
14
+ *
15
+ * Executing this command changes the {@glink framework/architecture/editing-engine#model model}
16
+ * selection so it contains the entire content of the editable root of the editor the selection is
17
+ * {@link module:engine/model/selection~ModelSelection#anchor anchored} in.
18
+ *
19
+ * If the selection was anchored in a {@glink framework/tutorials/widgets/implementing-a-block-widget nested editable}
20
+ * (e.g. a caption of an image), the new selection will contain its entire content. Successive executions of this command
21
+ * will expand the selection to encompass more and more content up to the entire editable root of the editor.
22
+ */
23
23
  export declare class SelectAllCommand extends Command {
24
- /**
25
- * @inheritDoc
26
- */
27
- constructor(editor: Editor);
28
- /**
29
- * @inheritDoc
30
- */
31
- execute(): void;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ constructor(editor: Editor);
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ override execute(): void;
32
32
  }
@@ -1,28 +1,28 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module select-all/selectallediting
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
6
+ * @module select-all/selectallediting
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The select all editing feature.
11
- *
12
- * It registers the `'selectAll'` {@link module:select-all/selectallcommand~SelectAllCommand command}
13
- * and the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke listener which executes it.
14
- */
10
+ * The select all editing feature.
11
+ *
12
+ * It registers the `'selectAll'` {@link module:select-all/selectallcommand~SelectAllCommand command}
13
+ * and the <kbd>Ctrl/⌘</kbd>+<kbd>A</kbd> keystroke listener which executes it.
14
+ */
15
15
  export declare class SelectAllEditing extends Plugin {
16
- /**
17
- * @inheritDoc
18
- */
19
- static get pluginName(): "SelectAllEditing";
20
- /**
21
- * @inheritDoc
22
- */
23
- static get isOfficialPlugin(): true;
24
- /**
25
- * @inheritDoc
26
- */
27
- init(): void;
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "SelectAllEditing";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static override get isOfficialPlugin(): true;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ init(): void;
28
28
  }
@@ -1,33 +1,33 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module select-all/selectallui
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
6
+ * @module select-all/selectallui
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The select all UI feature.
11
- *
12
- * It registers the `'selectAll'` UI button in the editor's
13
- * {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button
14
- * executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}.
15
- */
10
+ * The select all UI feature.
11
+ *
12
+ * It registers the `'selectAll'` UI button in the editor's
13
+ * {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button
14
+ * executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}.
15
+ */
16
16
  export declare class SelectAllUI extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "SelectAllUI";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isOfficialPlugin(): true;
25
- /**
26
- * @inheritDoc
27
- */
28
- init(): void;
29
- /**
30
- * Creates a button for select all command to use either in toolbar or in menu bar.
31
- */
32
- private _createButton;
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "SelectAllUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static override get isOfficialPlugin(): true;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ init(): void;
29
+ /**
30
+ * Creates a button for select all command to use either in toolbar or in menu bar.
31
+ */
32
+ private _createButton;
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-select-all",
3
- "version": "48.2.0",
3
+ "version": "48.3.0-alpha.0",
4
4
  "description": "Select all feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -26,11 +26,11 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@ckeditor/ckeditor5-core": "48.2.0",
30
- "@ckeditor/ckeditor5-icons": "48.2.0",
31
- "@ckeditor/ckeditor5-engine": "48.2.0",
32
- "@ckeditor/ckeditor5-utils": "48.2.0",
33
- "@ckeditor/ckeditor5-ui": "48.2.0"
29
+ "@ckeditor/ckeditor5-core": "48.3.0-alpha.0",
30
+ "@ckeditor/ckeditor5-icons": "48.3.0-alpha.0",
31
+ "@ckeditor/ckeditor5-engine": "48.3.0-alpha.0",
32
+ "@ckeditor/ckeditor5-utils": "48.3.0-alpha.0",
33
+ "@ckeditor/ckeditor5-ui": "48.3.0-alpha.0"
34
34
  },
35
35
  "files": [
36
36
  "dist",
@@ -1 +0,0 @@
1
- {"version":3,"sources":["index.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index.css.map */"]}