@ckeditor/ckeditor5-word-count 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231217.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -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": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20231217.0",
|
4
4
|
"description": "Word and character count feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -10,10 +10,11 @@
|
|
10
10
|
"ckeditor5-plugin",
|
11
11
|
"ckeditor5-dll"
|
12
12
|
],
|
13
|
+
"type": "module",
|
13
14
|
"main": "src/index.js",
|
14
15
|
"dependencies": {
|
15
16
|
"lodash-es": "4.17.21",
|
16
|
-
"ckeditor5": "0.0.0-nightly-
|
17
|
+
"ckeditor5": "0.0.0-nightly-20231217.0"
|
17
18
|
},
|
18
19
|
"author": "CKSource (http://cksource.com/)",
|
19
20
|
"license": "GPL-2.0-or-later",
|
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.
|