@ckeditor/ckeditor5-find-and-replace 45.0.0-alpha.9 → 45.1.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.
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/augmentation.d.ts +9 -1
- package/src/findandreplaceui.d.ts +1 -3
- package/src/findandreplaceui.js +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-find-and-replace",
|
|
3
|
-
"version": "45.
|
|
3
|
+
"version": "45.1.0-alpha.0",
|
|
4
4
|
"description": "Find and replace feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "45.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "45.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.
|
|
20
|
-
"ckeditor5": "45.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.0",
|
|
20
|
+
"ckeditor5": "45.1.0-alpha.0",
|
|
21
21
|
"es-toolkit": "1.32.0"
|
|
22
22
|
},
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, 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 type { FindAndReplace, FindAndReplaceEditing, FindAndReplaceUI, FindAndReplaceUtils, FindCommand, FindNextCommand, FindPreviousCommand, ReplaceAllCommand, ReplaceCommand } from './index.js';
|
|
5
|
+
import type { FindAndReplace, FindAndReplaceEditing, FindAndReplaceUI, FindAndReplaceUtils, FindCommand, FindNextCommand, FindPreviousCommand, ReplaceAllCommand, ReplaceCommand, FindAndReplaceConfig } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface PluginsMap {
|
|
8
8
|
[FindAndReplace.pluginName]: FindAndReplace;
|
|
@@ -17,4 +17,12 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
|
17
17
|
replace: ReplaceCommand;
|
|
18
18
|
replaceAll: ReplaceAllCommand;
|
|
19
19
|
}
|
|
20
|
+
interface EditorConfig {
|
|
21
|
+
/**
|
|
22
|
+
* The configuration of the {@link module:find-and-replace/findandreplace~FindAndReplace}.
|
|
23
|
+
*
|
|
24
|
+
* Read more in {@link module:find-and-replace/findandreplaceconfig~FindAndReplaceConfig}.
|
|
25
|
+
*/
|
|
26
|
+
findAndReplace?: FindAndReplaceConfig;
|
|
27
|
+
}
|
|
20
28
|
}
|
|
@@ -60,9 +60,7 @@ export default class FindAndReplaceUI extends Plugin {
|
|
|
60
60
|
*/
|
|
61
61
|
private _showDialog;
|
|
62
62
|
/**
|
|
63
|
-
* Sets up the form view for the
|
|
64
|
-
*
|
|
65
|
-
* @param formView A related form view.
|
|
63
|
+
* Sets up the form view for the findN and replace.
|
|
66
64
|
*/
|
|
67
65
|
private _createFormView;
|
|
68
66
|
/**
|
package/src/findandreplaceui.js
CHANGED
|
@@ -233,9 +233,7 @@ export default class FindAndReplaceUI extends Plugin {
|
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
|
-
* Sets up the form view for the
|
|
237
|
-
*
|
|
238
|
-
* @param formView A related form view.
|
|
236
|
+
* Sets up the form view for the findN and replace.
|
|
239
237
|
*/
|
|
240
238
|
_createFormView() {
|
|
241
239
|
const editor = this.editor;
|