@ckeditor/ckeditor5-clipboard 44.0.0 → 44.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.
Files changed (48) hide show
  1. package/dist/augmentation.d.ts +1 -1
  2. package/dist/clipboard.d.ts +1 -1
  3. package/dist/clipboardmarkersutils.d.ts +1 -1
  4. package/dist/clipboardobserver.d.ts +1 -1
  5. package/dist/clipboardpipeline.d.ts +1 -1
  6. package/dist/dragdrop.d.ts +1 -1
  7. package/dist/dragdropblocktoolbar.d.ts +1 -1
  8. package/dist/dragdroptarget.d.ts +1 -1
  9. package/dist/index.css +1 -1
  10. package/dist/index.css.map +1 -1
  11. package/dist/index.d.ts +1 -1
  12. package/dist/index.js +3 -3
  13. package/dist/index.js.map +1 -1
  14. package/dist/lineview.d.ts +1 -1
  15. package/dist/pasteplaintext.d.ts +1 -1
  16. package/dist/utils/normalizeclipboarddata.d.ts +1 -1
  17. package/dist/utils/plaintexttohtml.d.ts +1 -1
  18. package/dist/utils/viewtoplaintext.d.ts +1 -1
  19. package/package.json +6 -6
  20. package/src/augmentation.d.ts +1 -1
  21. package/src/augmentation.js +1 -1
  22. package/src/clipboard.d.ts +1 -1
  23. package/src/clipboard.js +1 -1
  24. package/src/clipboardmarkersutils.d.ts +1 -1
  25. package/src/clipboardmarkersutils.js +1 -1
  26. package/src/clipboardobserver.d.ts +1 -1
  27. package/src/clipboardobserver.js +1 -1
  28. package/src/clipboardpipeline.d.ts +1 -1
  29. package/src/clipboardpipeline.js +1 -1
  30. package/src/dragdrop.d.ts +1 -1
  31. package/src/dragdrop.js +1 -1
  32. package/src/dragdropblocktoolbar.d.ts +1 -1
  33. package/src/dragdropblocktoolbar.js +1 -1
  34. package/src/dragdroptarget.d.ts +1 -1
  35. package/src/dragdroptarget.js +1 -1
  36. package/src/index.d.ts +1 -1
  37. package/src/index.js +1 -1
  38. package/src/lineview.d.ts +1 -1
  39. package/src/lineview.js +1 -1
  40. package/src/pasteplaintext.d.ts +1 -1
  41. package/src/pasteplaintext.js +1 -1
  42. package/src/utils/normalizeclipboarddata.d.ts +1 -1
  43. package/src/utils/normalizeclipboarddata.js +1 -1
  44. package/src/utils/plaintexttohtml.d.ts +1 -1
  45. package/src/utils/plaintexttohtml.js +1 -1
  46. package/src/utils/viewtoplaintext.d.ts +1 -1
  47. package/src/utils/viewtoplaintext.js +1 -1
  48. package/theme/clipboard.css +1 -1
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import type { Clipboard, ClipboardPipeline, PastePlainText, DragDrop, DragDropTarget, DragDropBlockToolbar, ClipboardMarkersUtils } from './index.js';
10
10
  declare module '@ckeditor/ckeditor5-core' {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module clipboard/clipboard
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { Plugin, type NonEmptyArray } from '@ckeditor/ckeditor5-core';
10
10
  import { Range, type DocumentFragment, type Element, type DocumentSelection, type Selection, type Writer } from '@ckeditor/ckeditor5-engine';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { DataTransfer, DomEventObserver, type DomEventData, type EditingView, type ViewDocumentFragment, type ViewElement, type ViewRange } from '@ckeditor/ckeditor5-engine';
10
10
  /**
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module clipboard/clipboardpipeline
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module clipboard/dragdrop
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module clipboard/dragdropblocktoolbar
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module clipboard/dragdroptarget
package/dist/index.css CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /*
6
6
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
10
10
  /*
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/clipboard.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC;AAC5E,CAAC,CDAC;;AAGD,CAAA;ACAD,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC;AAClC,CAAC,CAAC,CDCC;;AACF,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,EAAA,CAAA,SAAA,CAAA,IAAA,CAAA,MAAA,CAAA,QAAA,CAAA;ACCD,CAAC,CDAC,OAAA,CAAA,CAAA,MAAe;ACCjB,CAAC,CDAC,QAAA,CAAA,CAAA,QAAkB;ACCpB,CAAC,CDAC,OAAA,CAAA,MAAA,CAAA,CAAA,IAAoB;ACCtB,CDKC;;AAJC,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,EAAA,CAAA,SAAA,CAAA,IAAA,CAAA,MAAA,CAAA,QAAA,CAAA,IAAA,CAAA;ACEF,CAAC,CAAC,CDDC,QAAA,CAAA,CAAA,QAAkB;ACErB,CAAC,CAAC,CDDC,KAAA,CAAA,CAAA,CAAQ;ACEX,CAAC,CDDC;;AAGD,CAAA;ACCD,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC;AACpD,CAAC,CAAC,CDAC;;AAED,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,iBAAA,CAAA,MAAA,CAAA;ACCF,CAAC,CAAC,CDAC,OAAA,CAAA,CAAA,IAAa;ACChB,CAAC,CDAC;;AAEA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,YAAA,CAAA,MAAA,CAAA;ACCF,CAAC,CAAC,CDAC,OAAA,CAAA,CAAA,IAAa;ACChB,CAAC,CDAC;;AAIF,CAAA,EAAA,CAAA,EAAA,CAAA,SAAA,CAAA,IAAA,CAAA,MAAA,CAAA,IAAA,CAAA;ACDA,CDEC,QAAA,CAAA,CAAA,QAAkB;ACDnB,CDEC,OAAA,CAAA,MAAA,CAAA,CAAA,IAAoB;AACrB;;ACAA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\n\t\t& span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n\t * Vertical drop target (in text).\n\t */\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\t}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\n/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\n.ck.ck-editor__editable .ck-widget:-webkit-drag > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n.ck.ck-editor__editable .ck-widget:-webkit-drag > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
1
+ {"version":3,"sources":["../theme/clipboard.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM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;ACCF,CAAC,CAAC,CDAC,OAAA,CAAA,CAAA,IAAa;ACChB,CAAC,CDAC;;AAEA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,YAAA,CAAA,MAAA,CAAA;ACCF,CAAC,CAAC,CDAC,OAAA,CAAA,CAAA,IAAa;ACChB,CAAC,CDAC;;AAIF,CAAA,EAAA,CAAA,EAAA,CAAA,SAAA,CAAA,IAAA,CAAA,MAAA,CAAA,IAAA,CAAA;ACDA,CDEC,QAAA,CAAA,CAAA,QAAkB;ACDnB,CDEC,OAAA,CAAA,MAAA,CAAA,CAAA,IAAoB;AACrB;;ACAA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\n\t\t& span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/*\n\t * Vertical drop target (in text).\n\t */\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\t}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\n/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\n.ck.ck-editor__editable .ck-widget:-webkit-drag > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n.ck.ck-editor__editable .ck-widget:-webkit-drag > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module clipboard
package/dist/index.js CHANGED
@@ -95,7 +95,7 @@ import { View } from '@ckeditor/ckeditor5-ui/dist/index.js';
95
95
 
96
96
  /**
97
97
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
98
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
98
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
99
99
  */ /**
100
100
  * @module clipboard/utils/plaintexttohtml
101
101
  */ /**
@@ -123,7 +123,7 @@ import { View } from '@ckeditor/ckeditor5-ui/dist/index.js';
123
123
 
124
124
  /**
125
125
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
126
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
126
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
127
127
  */ /**
128
128
  * @module clipboard/utils/normalizeclipboarddata
129
129
  */ /**
@@ -146,7 +146,7 @@ import { View } from '@ckeditor/ckeditor5-ui/dist/index.js';
146
146
 
147
147
  /**
148
148
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
149
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
149
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
150
150
  */ /**
151
151
  * @module clipboard/utils/viewtoplaintext
152
152
  */ // Elements which should not have empty-line padding.