@ckeditor/ckeditor5-typing 40.2.0 → 41.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/CHANGELOG.md CHANGED
@@ -65,11 +65,11 @@ Internal changes only (updated dependencies, documentation, etc.).
65
65
 
66
66
  ### Features
67
67
 
68
- * Introduced the text transformation feature. Additionally, the `TextWatcher` util was moved to this package from `@ckeditor/ckeditor5-mention`. Closes [ckeditor/ckeditor5#1490](https://github.com/ckeditor/ckeditor5/issues/1490). ([dafd16e](https://github.com/ckeditor/ckeditor5-typing/commit/dafd16e))
68
+ * Introduced the text transformation feature. Additionally, the `TextWatcher` utility was moved to this package from `@ckeditor/ckeditor5-mention`. Closes [ckeditor/ckeditor5#1490](https://github.com/ckeditor/ckeditor5/issues/1490). ([dafd16e](https://github.com/ckeditor/ckeditor5-typing/commit/dafd16e))
69
69
 
70
70
  ### Bug fixes
71
71
 
72
- * Improved typing on Android devices by handling `beforeinput` event instead of mutations. Introduced `options.selection` in the `DeleteCommand#execute()` params. Introduced `selectionToRemove` parameter in the `view.Document#event:delete` data. Closes [#167](https://github.com/ckeditor/ckeditor5-typing/issues/167). ([92ab3ff](https://github.com/ckeditor/ckeditor5-typing/commit/92ab3ff))
72
+ * Improved typing on Android devices by handling `beforeinput` event instead of mutations. Introduced `options.selection` in the `DeleteCommand#execute()` parameters. Introduced `selectionToRemove` parameter in the `view.Document#event:delete` data. Closes [#167](https://github.com/ckeditor/ckeditor5-typing/issues/167). ([92ab3ff](https://github.com/ckeditor/ckeditor5-typing/commit/92ab3ff))
73
73
 
74
74
 
75
75
  ## [12.0.2](https://github.com/ckeditor/ckeditor5-typing/compare/v12.0.1...v12.0.2) (June 6, 2019)
@@ -176,15 +176,15 @@ Internal changes only (updated dependencies, documentation, etc.).
176
176
 
177
177
  ### Bug fixes
178
178
 
179
- * Fixed a bug where using spellchecker sometimes caused creating incorrect deltas, which caused bugs in undo. Closes [#123](https://github.com/ckeditor/ckeditor5-typing/issues/123). Closes [ckeditor/ckeditor5-engine#1152](https://github.com/ckeditor/ckeditor5-engine/issues/1152). ([9a5e22b](https://github.com/ckeditor/ckeditor5-typing/commit/9a5e22b))
180
- * Fixed an error where using spellchecker on a word with a style applied sometimes resulted in that word being removed. Closes [#117](https://github.com/ckeditor/ckeditor5-typing/issues/117). ([1e8d02b](https://github.com/ckeditor/ckeditor5-typing/commit/1e8d02b))
179
+ * Fixed a bug where using spell checker sometimes caused creating incorrect deltas, which caused bugs in undo. Closes [#123](https://github.com/ckeditor/ckeditor5-typing/issues/123). Closes [ckeditor/ckeditor5-engine#1152](https://github.com/ckeditor/ckeditor5-engine/issues/1152). ([9a5e22b](https://github.com/ckeditor/ckeditor5-typing/commit/9a5e22b))
180
+ * Fixed an error where using spell checker on a word with a style applied sometimes resulted in that word being removed. Closes [#117](https://github.com/ckeditor/ckeditor5-typing/issues/117). ([1e8d02b](https://github.com/ckeditor/ckeditor5-typing/commit/1e8d02b))
181
181
 
182
182
 
183
183
  ## [0.10.0](https://github.com/ckeditor/ckeditor5-typing/compare/v0.9.1...v0.10.0) (September 3, 2017)
184
184
 
185
185
  ### Bug fixes
186
186
 
187
- * Fixed a range of issues when typing or using a spellchecker on styled words leads to errors. Closes [#100](https://github.com/ckeditor/ckeditor5-typing/issues/100). Closes ckeditor/ckeditor5[#491](https://github.com/ckeditor/ckeditor5-typing/issues/491). ([c30dbf8](https://github.com/ckeditor/ckeditor5-typing/commit/c30dbf8))
187
+ * Fixed a range of issues when typing or using a spell checker on styled words leads to errors. Closes [#100](https://github.com/ckeditor/ckeditor5-typing/issues/100). Closes ckeditor/ckeditor5[#491](https://github.com/ckeditor/ckeditor5-typing/issues/491). ([c30dbf8](https://github.com/ckeditor/ckeditor5-typing/commit/c30dbf8))
188
188
  * Prevent from modifying document by `Input` feature when `InputCommand` is disabled. Closes [#107](https://github.com/ckeditor/ckeditor5-typing/issues/107). ([f935d66](https://github.com/ckeditor/ckeditor5-typing/commit/f935d66))
189
189
 
190
190
  ### Features
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 typing feature** – https://github.com/ckeditor/ckeditor5-typing <br>
5
- Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-typing",
3
- "version": "40.2.0",
3
+ "version": "41.1.0",
4
4
  "description": "Typing feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -10,11 +10,12 @@
10
10
  "ckeditor5-plugin",
11
11
  "ckeditor5-dll"
12
12
  ],
13
+ "type": "module",
13
14
  "main": "src/index.js",
14
15
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "40.2.0",
16
- "@ckeditor/ckeditor5-engine": "40.2.0",
17
- "@ckeditor/ckeditor5-utils": "40.2.0",
16
+ "@ckeditor/ckeditor5-core": "41.1.0",
17
+ "@ckeditor/ckeditor5-engine": "41.1.0",
18
+ "@ckeditor/ckeditor5-utils": "41.1.0",
18
19
  "lodash-es": "4.17.21"
19
20
  },
20
21
  "author": "CKSource (http://cksource.com/)",
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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 { Delete, DeleteCommand, Input, InsertTextCommand, TextTransformation, TwoStepCaretMovement, Typing, TypingConfig } from './index';
5
+ import type { Delete, DeleteCommand, Input, InsertTextCommand, TextTransformation, TwoStepCaretMovement, Typing, TypingConfig } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface EditorConfig {
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  export {};
package/src/delete.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
package/src/delete.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing/delete
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import DeleteCommand from './deletecommand';
10
- import DeleteObserver from './deleteobserver';
9
+ import DeleteCommand from './deletecommand.js';
10
+ import DeleteObserver from './deleteobserver.js';
11
11
  /**
12
12
  * The delete and backspace feature. Handles keys such as <kbd>Delete</kbd> and <kbd>Backspace</kbd>, other
13
13
  * keystrokes and user actions that result in deleting content in the editor.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { Command, type Editor } from '@ckeditor/ckeditor5-core';
9
9
  import type { DocumentSelection, Selection } from '@ckeditor/ckeditor5-engine';
10
- import ChangeBuffer from './utils/changebuffer';
10
+ import ChangeBuffer from './utils/changebuffer.js';
11
11
  /**
12
12
  * The delete command. Used by the {@link module:typing/delete~Delete delete feature} to handle the <kbd>Delete</kbd> and
13
13
  * <kbd>Backspace</kbd> keys.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { Command } from '@ckeditor/ckeditor5-core';
9
9
  import { count } from '@ckeditor/ckeditor5-utils';
10
- import ChangeBuffer from './utils/changebuffer';
10
+ import ChangeBuffer from './utils/changebuffer.js';
11
11
  /**
12
12
  * The delete command. Used by the {@link module:typing/delete~Delete delete feature} to handle the <kbd>Delete</kbd> and
13
13
  * <kbd>Backspace</kbd> keys.
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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 { DomEventData, Observer, type BubblingEvent, type ViewDocumentSelection, type ViewSelection, type View } from '@ckeditor/ckeditor5-engine';
5
+ import { DomEventData, Observer, type BubblingEvent, type ViewDocumentSelection, type ViewSelection, type EditingView } from '@ckeditor/ckeditor5-engine';
6
6
  /**
7
7
  * Delete observer introduces the {@link module:engine/view/document~Document#event:delete} event.
8
8
  */
@@ -10,7 +10,7 @@ export default class DeleteObserver extends Observer {
10
10
  /**
11
11
  * @inheritDoc
12
12
  */
13
- constructor(view: View);
13
+ constructor(view: EditingView);
14
14
  /**
15
15
  * @inheritDoc
16
16
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
package/src/index.d.ts CHANGED
@@ -1,24 +1,24 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing
7
7
  */
8
- export { default as Typing } from './typing';
9
- export { default as Input } from './input';
10
- export { default as Delete } from './delete';
11
- export { default as TextWatcher } from './textwatcher';
12
- export { default as TwoStepCaretMovement } from './twostepcaretmovement';
13
- export { default as TextTransformation } from './texttransformation';
14
- export { default as inlineHighlight } from './utils/inlinehighlight';
15
- export { default as findAttributeRange, findAttributeRangeBound } from './utils/findattributerange';
16
- export { default as getLastTextLine, type LastTextLineData } from './utils/getlasttextline';
17
- export { default as InsertTextCommand, type InsertTextCommandExecuteEvent } from './inserttextcommand';
18
- export type { default as DeleteCommand } from './deletecommand';
19
- export type { TypingConfig } from './typingconfig';
20
- export type { ViewDocumentDeleteEvent } from './deleteobserver';
21
- export type { ViewDocumentInsertTextEvent, InsertTextEventData } from './inserttextobserver';
22
- export type { TextWatcherMatchedEvent } from './textwatcher';
23
- export type { TextWatcherMatchedDataEvent } from './textwatcher';
24
- import './augmentation';
8
+ export { default as Typing } from './typing.js';
9
+ export { default as Input } from './input.js';
10
+ export { default as Delete } from './delete.js';
11
+ export { default as TextWatcher } from './textwatcher.js';
12
+ export { default as TwoStepCaretMovement } from './twostepcaretmovement.js';
13
+ export { default as TextTransformation } from './texttransformation.js';
14
+ export { default as inlineHighlight } from './utils/inlinehighlight.js';
15
+ export { default as findAttributeRange, findAttributeRangeBound } from './utils/findattributerange.js';
16
+ export { default as getLastTextLine, type LastTextLineData } from './utils/getlasttextline.js';
17
+ export { default as InsertTextCommand, type InsertTextCommandExecuteEvent } from './inserttextcommand.js';
18
+ export type { default as DeleteCommand } from './deletecommand.js';
19
+ export type { TypingConfig } from './typingconfig.js';
20
+ export type { ViewDocumentDeleteEvent } from './deleteobserver.js';
21
+ export type { ViewDocumentInsertTextEvent, InsertTextEventData } from './inserttextobserver.js';
22
+ export type { TextWatcherMatchedEvent } from './textwatcher.js';
23
+ export type { TextWatcherMatchedDataEvent } from './textwatcher.js';
24
+ import './augmentation.js';
package/src/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing
7
7
  */
8
- export { default as Typing } from './typing';
9
- export { default as Input } from './input';
10
- export { default as Delete } from './delete';
11
- export { default as TextWatcher } from './textwatcher';
12
- export { default as TwoStepCaretMovement } from './twostepcaretmovement';
13
- export { default as TextTransformation } from './texttransformation';
14
- export { default as inlineHighlight } from './utils/inlinehighlight';
15
- export { default as findAttributeRange, findAttributeRangeBound } from './utils/findattributerange';
16
- export { default as getLastTextLine } from './utils/getlasttextline';
17
- export { default as InsertTextCommand } from './inserttextcommand';
18
- import './augmentation';
8
+ export { default as Typing } from './typing.js';
9
+ export { default as Input } from './input.js';
10
+ export { default as Delete } from './delete.js';
11
+ export { default as TextWatcher } from './textwatcher.js';
12
+ export { default as TwoStepCaretMovement } from './twostepcaretmovement.js';
13
+ export { default as TextTransformation } from './texttransformation.js';
14
+ export { default as inlineHighlight } from './utils/inlinehighlight.js';
15
+ export { default as findAttributeRange, findAttributeRangeBound } from './utils/findattributerange.js';
16
+ export { default as getLastTextLine } from './utils/getlasttextline.js';
17
+ export { default as InsertTextCommand } from './inserttextcommand.js';
18
+ import './augmentation.js';
package/src/input.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
package/src/input.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -7,8 +7,8 @@
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import { env } from '@ckeditor/ckeditor5-utils';
10
- import InsertTextCommand from './inserttextcommand';
11
- import InsertTextObserver from './inserttextobserver';
10
+ import InsertTextCommand from './inserttextcommand.js';
11
+ import InsertTextObserver from './inserttextobserver.js';
12
12
  /**
13
13
  * Handles text input coming from the keyboard or other input methods.
14
14
  */
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing/inserttextcommand
7
7
  */
8
8
  import { Command, type Editor } from '@ckeditor/ckeditor5-core';
9
- import ChangeBuffer from './utils/changebuffer';
9
+ import ChangeBuffer from './utils/changebuffer.js';
10
10
  import type { DocumentSelection, Range, Selection } from '@ckeditor/ckeditor5-engine';
11
11
  /**
12
12
  * The insert text command. Used by the {@link module:typing/input~Input input feature} to handle typing.
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing/inserttextcommand
7
7
  */
8
8
  import { Command } from '@ckeditor/ckeditor5-core';
9
- import ChangeBuffer from './utils/changebuffer';
9
+ import ChangeBuffer from './utils/changebuffer.js';
10
10
  /**
11
11
  * The insert text command. Used by the {@link module:typing/input~Input input feature} to handle typing.
12
12
  */
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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 { DomEventData, Observer, FocusObserver, type View, type ViewDocumentSelection, type ViewRange, type ViewSelection } from '@ckeditor/ckeditor5-engine';
5
+ import { DomEventData, Observer, FocusObserver, type EditingView, type ViewDocumentSelection, type ViewRange, type ViewSelection } from '@ckeditor/ckeditor5-engine';
6
6
  /**
7
7
  * Text insertion observer introduces the {@link module:engine/view/document~Document#event:insertText} event.
8
8
  */
@@ -15,7 +15,7 @@ export default class InsertTextObserver extends Observer {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */
18
- constructor(view: View);
18
+ constructor(view: EditingView);
19
19
  /**
20
20
  * @inheritDoc
21
21
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing/texttransformation
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import TextWatcher from './textwatcher';
9
+ import TextWatcher from './textwatcher.js';
10
10
  import { escapeRegExp } from 'lodash-es';
11
11
  // All named transformations.
12
12
  const TRANSFORMATIONS = {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  import type { Batch, Model, Range } from '@ckeditor/ckeditor5-engine';
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing/textwatcher
7
7
  */
8
8
  import { ObservableMixin } from '@ckeditor/ckeditor5-utils';
9
- import getLastTextLine from './utils/getlasttextline';
9
+ import getLastTextLine from './utils/getlasttextline.js';
10
10
  /**
11
11
  * The text watcher feature.
12
12
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
package/src/typing.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing/typing
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import Input from './input';
10
- import Delete from './delete';
9
+ import Input from './input.js';
10
+ import Delete from './delete.js';
11
11
  /**
12
12
  * The typing feature. It handles typing.
13
13
  *
package/src/typing.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing/typing
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import Input from './input';
10
- import Delete from './delete';
9
+ import Input from './input.js';
10
+ import Delete from './delete.js';
11
11
  /**
12
12
  * The typing feature. It handles typing.
13
13
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  import type { Editor } from '@ckeditor/ckeditor5-core';
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module typing/utils/inlinehighlight
7
7
  */
8
- import findAttributeRange from './findattributerange';
8
+ import findAttributeRange from './findattributerange.js';
9
9
  /**
10
10
  * Adds a visual highlight style to an attribute element in which the selection is anchored.
11
11
  * Together with two-step caret movement, they indicate that the user is typing inside the element.