@ckeditor/ckeditor5-clipboard 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/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 clipboard feature** – https://github.com/ckeditor/ckeditor5-clipboard <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-clipboard",
3
- "version": "40.2.0",
3
+ "version": "41.1.0",
4
4
  "description": "Clipboard integration feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -10,13 +10,14 @@
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-ui": "40.2.0",
18
- "@ckeditor/ckeditor5-utils": "40.2.0",
19
- "@ckeditor/ckeditor5-widget": "40.2.0",
16
+ "@ckeditor/ckeditor5-core": "41.1.0",
17
+ "@ckeditor/ckeditor5-engine": "41.1.0",
18
+ "@ckeditor/ckeditor5-ui": "41.1.0",
19
+ "@ckeditor/ckeditor5-utils": "41.1.0",
20
+ "@ckeditor/ckeditor5-widget": "41.1.0",
20
21
  "lodash-es": "4.17.21"
21
22
  },
22
23
  "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 { Clipboard, ClipboardPipeline, PastePlainText, DragDrop, DragDropTarget, DragDropBlockToolbar } from './index';
5
+ import type { Clipboard, ClipboardPipeline, PastePlainText, DragDrop, DragDropTarget, DragDropBlockToolbar } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface PluginsMap {
8
8
  [Clipboard.pluginName]: Clipboard;
@@ -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,14 +1,14 @@
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 clipboard/clipboard
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import ClipboardPipeline from './clipboardpipeline';
10
- import DragDrop from './dragdrop';
11
- import PastePlainText from './pasteplaintext';
9
+ import ClipboardPipeline from './clipboardpipeline.js';
10
+ import DragDrop from './dragdrop.js';
11
+ import PastePlainText from './pasteplaintext.js';
12
12
  /**
13
13
  * The clipboard feature.
14
14
  *
package/src/clipboard.js CHANGED
@@ -1,14 +1,14 @@
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 clipboard/clipboard
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import ClipboardPipeline from './clipboardpipeline';
10
- import DragDrop from './dragdrop';
11
- import PastePlainText from './pasteplaintext';
9
+ import ClipboardPipeline from './clipboardpipeline.js';
10
+ import DragDrop from './dragdrop.js';
11
+ import PastePlainText from './pasteplaintext.js';
12
12
  /**
13
13
  * The clipboard feature.
14
14
  *
@@ -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 { DataTransfer, DomEventObserver, type DomEventData, type View, type ViewDocumentFragment, type ViewElement, type ViewRange } from '@ckeditor/ckeditor5-engine';
5
+ import { DataTransfer, DomEventObserver, type DomEventData, type EditingView, type ViewDocumentFragment, type ViewElement, type ViewRange } from '@ckeditor/ckeditor5-engine';
6
6
  /**
7
7
  * Clipboard events observer.
8
8
  *
@@ -27,7 +27,7 @@ import { DataTransfer, DomEventObserver, type DomEventData, type View, type View
27
27
  */
28
28
  export default class ClipboardObserver extends DomEventObserver<'paste' | 'copy' | 'cut' | 'drop' | 'dragover' | 'dragstart' | 'dragend' | 'dragenter' | 'dragleave', ClipboardEventData> {
29
29
  readonly domEventType: readonly ["paste", "copy", "cut", "drop", "dragover", "dragstart", "dragend", "dragenter", "dragleave"];
30
- constructor(view: View);
30
+ constructor(view: EditingView);
31
31
  onDomEvent(domEvent: ClipboardEvent | DragEvent): void;
32
32
  }
33
33
  /**
@@ -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
  /**
@@ -7,10 +7,10 @@
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import { EventInfo } from '@ckeditor/ckeditor5-utils';
10
- import ClipboardObserver from './clipboardobserver';
11
- import plainTextToHtml from './utils/plaintexttohtml';
12
- import normalizeClipboardHtml from './utils/normalizeclipboarddata';
13
- import viewToPlainText from './utils/viewtoplaintext';
10
+ import ClipboardObserver from './clipboardobserver.js';
11
+ import plainTextToHtml from './utils/plaintexttohtml.js';
12
+ import normalizeClipboardHtml from './utils/normalizeclipboarddata.js';
13
+ import viewToPlainText from './utils/viewtoplaintext.js';
14
14
  // Input pipeline events overview:
15
15
  //
16
16
  // ┌──────────────────────┐ ┌──────────────────────┐
package/src/dragdrop.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
  /**
@@ -7,9 +7,9 @@
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import { Widget } from '@ckeditor/ckeditor5-widget';
10
- import ClipboardPipeline from './clipboardpipeline';
11
- import DragDropTarget from './dragdroptarget';
12
- import DragDropBlockToolbar from './dragdropblocktoolbar';
10
+ import ClipboardPipeline from './clipboardpipeline.js';
11
+ import DragDropTarget from './dragdroptarget.js';
12
+ import DragDropBlockToolbar from './dragdropblocktoolbar.js';
13
13
  import '../theme/clipboard.css';
14
14
  /**
15
15
  * The drag and drop feature. It works on top of the {@link module:clipboard/clipboardpipeline~ClipboardPipeline}.
package/src/dragdrop.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
  /**
@@ -9,10 +9,10 @@ import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import { LiveRange, MouseObserver } from '@ckeditor/ckeditor5-engine';
10
10
  import { Widget, isWidget } from '@ckeditor/ckeditor5-widget';
11
11
  import { env, uid, global, createElement, DomEmitterMixin, delay, Rect } from '@ckeditor/ckeditor5-utils';
12
- import ClipboardPipeline from './clipboardpipeline';
13
- import ClipboardObserver from './clipboardobserver';
14
- import DragDropTarget from './dragdroptarget';
15
- import DragDropBlockToolbar from './dragdropblocktoolbar';
12
+ import ClipboardPipeline from './clipboardpipeline.js';
13
+ import ClipboardObserver from './clipboardobserver.js';
14
+ import DragDropTarget from './dragdroptarget.js';
15
+ import DragDropBlockToolbar from './dragdropblocktoolbar.js';
16
16
  import '../theme/clipboard.css';
17
17
  // Drag and drop events overview:
18
18
  //
@@ -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
  /**
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import { env, global, DomEmitterMixin } from '@ckeditor/ckeditor5-utils';
10
- import ClipboardObserver from './clipboardobserver';
10
+ import ClipboardObserver from './clipboardobserver.js';
11
11
  /**
12
12
  * Integration of a block Drag and Drop support with the block toolbar.
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
  /**
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import { global, Rect, DomEmitterMixin, delay, ResizeObserver } from '@ckeditor/ckeditor5-utils';
10
- import LineView from './lineview';
10
+ import LineView from './lineview.js';
11
11
  import { throttle } from 'lodash-es';
12
12
  /**
13
13
  * Part of the Drag and Drop handling. Responsible for finding and displaying the drop target.
@@ -200,6 +200,9 @@ export default class DragDropTarget extends Plugin {
200
200
  const viewElementAfter = nodeAfter ? editing.mapper.toViewElement(nodeAfter) : null;
201
201
  const domElementAfter = viewElementAfter ? editing.view.domConverter.mapViewToDom(viewElementAfter) : null;
202
202
  const viewElementParent = editing.mapper.toViewElement(nodeParent);
203
+ if (!viewElementParent) {
204
+ return;
205
+ }
203
206
  const domElementParent = editing.view.domConverter.mapViewToDom(viewElementParent);
204
207
  const domScrollableRect = this._getScrollableRect(viewElementParent);
205
208
  const { scrollX, scrollY } = global.window;
@@ -285,7 +288,7 @@ function findDropTargetRange(editor, targetViewElement, targetViewRanges, client
285
288
  }
286
289
  else if (model.schema.checkChild(modelElement, '$block')) {
287
290
  const childNodes = Array.from(modelElement.getChildren())
288
- .filter((node) => node.is('element') && !isFloatingElement(editor, node));
291
+ .filter((node) => node.is('element') && !shouldIgnoreElement(editor, node));
289
292
  let startIndex = 0;
290
293
  let endIndex = childNodes.length;
291
294
  if (endIndex == 0) {
@@ -308,12 +311,15 @@ function findDropTargetRange(editor, targetViewElement, targetViewRanges, client
308
311
  return null;
309
312
  }
310
313
  /**
311
- * Returns true for elements with floating style set.
314
+ * Returns true for elements which should be ignored.
312
315
  */
313
- function isFloatingElement(editor, modelElement) {
316
+ function shouldIgnoreElement(editor, modelElement) {
314
317
  const mapper = editor.editing.mapper;
315
318
  const domConverter = editor.editing.view.domConverter;
316
319
  const viewElement = mapper.toViewElement(modelElement);
320
+ if (!viewElement) {
321
+ return true;
322
+ }
317
323
  const domElement = domConverter.mapViewToDom(viewElement);
318
324
  return global.window.getComputedStyle(domElement).float != 'none';
319
325
  }
package/src/index.d.ts CHANGED
@@ -1,16 +1,16 @@
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 clipboard
7
7
  */
8
- export { default as Clipboard } from './clipboard';
9
- export { default as ClipboardPipeline, type ClipboardContentInsertionEvent, type ClipboardInputTransformationEvent, type ClipboardInputTransformationData, type ClipboardOutputTransformationEvent, type ClipboardOutputTransformationData, type ViewDocumentClipboardOutputEvent } from './clipboardpipeline';
10
- export type { ClipboardEventData } from './clipboardobserver';
11
- export { default as DragDrop } from './dragdrop';
12
- export { default as PastePlainText } from './pasteplaintext';
13
- export { default as DragDropTarget } from './dragdroptarget';
14
- export { default as DragDropBlockToolbar } from './dragdropblocktoolbar';
15
- export type { ViewDocumentClipboardInputEvent, ViewDocumentCopyEvent, ViewDocumentCutEvent } from './clipboardobserver';
16
- import './augmentation';
8
+ export { default as Clipboard } from './clipboard.js';
9
+ export { default as ClipboardPipeline, type ClipboardContentInsertionEvent, type ClipboardInputTransformationEvent, type ClipboardInputTransformationData, type ClipboardOutputTransformationEvent, type ClipboardOutputTransformationData, type ViewDocumentClipboardOutputEvent } from './clipboardpipeline.js';
10
+ export type { ClipboardEventData } from './clipboardobserver.js';
11
+ export { default as DragDrop } from './dragdrop.js';
12
+ export { default as PastePlainText } from './pasteplaintext.js';
13
+ export { default as DragDropTarget } from './dragdroptarget.js';
14
+ export { default as DragDropBlockToolbar } from './dragdropblocktoolbar.js';
15
+ export type { ViewDocumentClipboardInputEvent, ViewDocumentCopyEvent, ViewDocumentCutEvent } from './clipboardobserver.js';
16
+ import './augmentation.js';
package/src/index.js CHANGED
@@ -1,14 +1,14 @@
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 clipboard
7
7
  */
8
- export { default as Clipboard } from './clipboard';
9
- export { default as ClipboardPipeline } from './clipboardpipeline';
10
- export { default as DragDrop } from './dragdrop';
11
- export { default as PastePlainText } from './pasteplaintext';
12
- export { default as DragDropTarget } from './dragdroptarget';
13
- export { default as DragDropBlockToolbar } from './dragdropblocktoolbar';
14
- import './augmentation';
8
+ export { default as Clipboard } from './clipboard.js';
9
+ export { default as ClipboardPipeline } from './clipboardpipeline.js';
10
+ export { default as DragDrop } from './dragdrop.js';
11
+ export { default as PastePlainText } from './pasteplaintext.js';
12
+ export { default as DragDropTarget } from './dragdroptarget.js';
13
+ export { default as DragDropBlockToolbar } from './dragdropblocktoolbar.js';
14
+ import './augmentation.js';
package/src/lineview.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/lineview.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
  /**
@@ -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 clipboard/pasteplaintext
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import ClipboardPipeline from './clipboardpipeline';
9
+ import ClipboardPipeline from './clipboardpipeline.js';
10
10
  /**
11
11
  * The plugin detects the user's intention to paste plain text.
12
12
  *
@@ -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 clipboard/pasteplaintext
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import ClipboardObserver from './clipboardobserver';
10
- import ClipboardPipeline from './clipboardpipeline';
9
+ import ClipboardObserver from './clipboardobserver.js';
10
+ import ClipboardPipeline from './clipboardpipeline.js';
11
11
  /**
12
12
  * The plugin detects the user's intention to paste plain text.
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
  /**
@@ -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
  // Elements which should not have empty-line padding.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * 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