@ckeditor/ckeditor5-word-count 38.2.0-alpha.0 → 38.2.0-alpha.1
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/package.json +2 -2
- package/src/augmentation.d.ts +1 -1
- package/src/index.d.ts +3 -3
- package/src/index.js +2 -2
- package/src/utils.d.ts +1 -1
- package/src/wordcount.d.ts +1 -1
- package/src/wordcount.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-word-count",
|
|
3
|
-
"version": "38.2.0-alpha.
|
|
3
|
+
"version": "38.2.0-alpha.1",
|
|
4
4
|
"description": "Word and character count feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"type": "module",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"lodash-es": "^4.17.15",
|
|
17
|
-
"ckeditor5": "38.2.0-alpha.
|
|
17
|
+
"ckeditor5": "38.2.0-alpha.1"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=16.0.0",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { WordCount, WordCountConfig } from './index';
|
|
5
|
+
import type { WordCount, WordCountConfig } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
package/src/index.d.ts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module word-count
|
|
7
7
|
*/
|
|
8
|
-
export { default as WordCount, type WordCountUpdateEvent } from './wordcount';
|
|
9
|
-
export { WordCountConfig } from './wordcountconfig';
|
|
10
|
-
import './augmentation';
|
|
8
|
+
export { default as WordCount, type WordCountUpdateEvent } from './wordcount.js';
|
|
9
|
+
export { WordCountConfig } from './wordcountconfig.js';
|
|
10
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
package/src/utils.d.ts
CHANGED
package/src/wordcount.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
5
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
6
6
|
/**
|
|
7
7
|
* The word count plugin.
|
|
8
8
|
*
|
package/src/wordcount.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
6
|
-
import { Template, View } from 'ckeditor5/src/ui';
|
|
7
|
-
import { env } from 'ckeditor5/src/utils';
|
|
8
|
-
import { modelElementToPlainText } from './utils';
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
6
|
+
import { Template, View } from 'ckeditor5/src/ui.js';
|
|
7
|
+
import { env } from 'ckeditor5/src/utils.js';
|
|
8
|
+
import { modelElementToPlainText } from './utils.js';
|
|
9
9
|
import { throttle, isElement } from 'lodash-es';
|
|
10
10
|
/**
|
|
11
11
|
* The word count plugin.
|